Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 108.4 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002237/0.002237, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.084/1.084, allocations: 175.8 MB / 478.4 MB, free: 8.461 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 72.12 kB / 0.6652 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2035, allocations: 94.53 MB / 0.7575 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.4292/0.6327, allocations: 10.22 MB / 0.7675 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006205/0.6389, allocations: 3.21 MB / 0.7706 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.64, allocations: 39.25 kB / 0.7707 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.6419, allocations: 0.6098 MB / 0.7713 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.6441, allocations: 0.7719 MB / 0.772 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.6463, allocations: 0.7488 MB / 0.7728 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00435/0.6506, allocations: 2.994 MB / 0.7757 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002785/0.6534, allocations: 1.958 MB / 0.7776 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.6561, allocations: 1.263 MB / 0.7788 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003359/0.6595, allocations: 1.706 MB / 0.7805 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005523/0.66, allocations: 237 kB / 0.7807 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.6613, allocations: 0.5025 MB / 0.7812 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.6628, allocations: 1.101 MB / 0.7823 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001927/0.6647, allocations: 1.111 MB / 0.7834 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006709/0.6714, allocations: 3.697 MB / 0.787 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.6715, allocations: 4 kB / 0.787 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6715, allocations: 4 kB / 0.787 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001599/0.6716, allocations: 1.406 kB / 0.787 GB, free: 11.35 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.007733/0.6793, allocations: 2.182 MB / 0.7891 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.6794, allocations: 9.625 kB / 0.7891 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006492/0.68, allocations: 262.2 kB / 0.7894 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009333/0.6894, allocations: 1.333 MB / 0.7907 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004328/0.6937, allocations: 1.304 MB / 0.792 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.6938, allocations: 112 kB / 0.7921 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007679/0.6946, allocations: 150.4 kB / 0.7922 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007572/0.7022, allocations: 3.439 MB / 0.7956 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/0.7022, allocations: 6.688 kB / 0.7956 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002836/0.7025, allocations: 63.09 kB / 0.7956 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002872/0.7028, allocations: 207.3 kB / 0.7958 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006325/0.7091, allocations: 3.127 MB / 0.7989 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02344/0.7326, allocations: 13.55 MB / 0.8121 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/0.7354, allocations: 1.614 MB / 0.8137 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00215/0.7375, allocations: 1.333 MB / 0.815 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.414e-05/0.7376, allocations: 10.66 kB / 0.815 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.7377, allocations: 52.09 kB / 0.8151 GB, free: 9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=104): time 3.196e-06/0.7377, allocations: 0 / 0.8151 GB, free: 9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=183): time 0.1449/0.8825, allocations: 36.56 MB / 0.8508 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.8826, allocations: 77.41 kB / 0.8508 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.8845, allocations: 1.05 MB / 0.8519 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004443/0.885, allocations: 57.7 kB / 0.8519 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/0.8856, allocations: 0.8091 MB / 0.8527 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009277/0.8866, allocations: 0.6546 MB / 0.8533 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.8876, allocations: 363.5 kB / 0.8537 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8878, allocations: 305.1 kB / 0.854 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003246/0.891, allocations: 1.928 MB / 0.8559 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003539/0.8945, allocations: 2.289 MB / 0.8581 GB, free: 136 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006827/0.9014, allocations: 4.387 MB / 0.8624 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/0.9014, allocations: 8 kB / 0.8624 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02227/0.9237, allocations: 8.881 MB / 0.8711 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.9237, allocations: 8 kB / 0.8711 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.9237, allocations: 8 kB / 0.8711 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01842/0.9421, allocations: 4.977 MB / 0.8759 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.9432, allocations: 191.7 kB / 0.8761 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06695/1.01, allocations: 38.94 MB / 0.9141 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/1.012, allocations: 103.9 kB / 0.9142 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005967/1.013, allocations: 64 kB / 0.9143 GB, free: 5.852 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002152/1.015, allocations: 0.8101 MB / 0.9151 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000569/1.016, allocations: 151.1 kB / 0.9152 GB, free: 4.883 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02199/1.038, allocations: 8.734 MB / 0.9238 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/1.038, allocations: 20 kB / 0.9238 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001063/1.038, allocations: 28 kB / 0.9238 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.477e-05/1.038, allocations: 8.531 kB / 0.9238 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03179/1.07, allocations: 13.25 MB / 0.9368 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/1.07, allocations: 4 kB / 0.9368 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/1.07, allocations: 124.2 kB / 0.9369 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01751/1.088, allocations: 4.837 MB / 0.9416 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004358/1.088, allocations: 32 kB / 0.9416 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06151/1.15, allocations: 36.87 MB / 0.9776 GB, free: 4.199 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/1.15, allocations: 7.938 kB / 0.9777 GB, free: 4.191 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02212/1.172, allocations: 8.446 MB / 0.9859 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002326/1.174, allocations: 0.6444 MB / 0.9865 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007009/1.175, allocations: 39.98 kB / 0.9866 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/1.177, allocations: 91.89 kB / 0.9867 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009061/1.177, allocations: 157.7 kB / 0.9868 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002298/1.178, allocations: 48 kB / 0.9868 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001319/1.179, allocations: 0.7421 MB / 0.9876 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/1.179, allocations: 0 / 0.9876 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003999/1.183, allocations: 1.012 MB / 0.9886 GB, free: 8.902 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02194/1.205, allocations: 9.035 MB / 0.9974 GB, free: 15.77 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.217, allocations: 5.743 MB / 1.003 GB, free: 9.969 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.217, allocations: 0 / 1.003 GB, free: 9.969 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.009325/1.226, allocations: 3.796 MB / 1.007 GB, free: 6.129 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.228, allocations: 241.5 kB / 1.007 GB, free: 5.895 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07281/1.301, allocations: 30.77 MB / 1.037 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/1.304, allocations: 1.859 MB / 1.039 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00103/1.305, allocations: 356.4 kB / 1.039 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009606/1.306, allocations: 0.6047 MB / 1.04 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of SimCode: time 1.092e-06/1.306, allocations: 0 / 1.04 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5373/1.843, allocations: 76.69 MB / 1.115 GB, free: 285.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/14.93, allocations: 10.69 kB / 1.115 GB, free: 285.6 MB / 0.8731 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.94405241170898] Failed to read output from testmodel.py, exit status != 0: 15.03682166710496 15.049385809 14.375109465 Calling exit ...