Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001303/0.001303, allocations: 109.8 kB / 16.4 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.001305/0.001305, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.464/1.464, allocations: 222.9 MB / 245.1 MB, free: 15 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.11/1.11, allocations: 173.5 MB / 470.7 MB, free: 13.6 MB / 382.1 MB " [Timeout remaining time 178] 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_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 64.2 kB / 0.6478 GB, free: 11.71 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2017, allocations: 89.53 MB / 0.7353 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.4014/0.6031, allocations: 23.39 MB / 0.7581 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01127/0.6144, allocations: 6.481 MB / 0.7645 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.6174, allocations: 99.12 kB / 0.7645 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004015/0.6215, allocations: 1.485 MB / 0.766 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005873/0.6274, allocations: 1.83 MB / 0.7678 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004457/0.6319, allocations: 1.458 MB / 0.7692 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008864/0.6408, allocations: 6.905 MB / 0.776 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/0.6516, allocations: 6.952 MB / 0.7827 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006321/0.658, allocations: 2.847 MB / 0.7855 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007914/0.6659, allocations: 3.47 MB / 0.7889 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002368/0.6683, allocations: 0.5274 MB / 0.7894 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004164/0.6725, allocations: 1.172 MB / 0.7906 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004927/0.6774, allocations: 2.471 MB / 0.793 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006861/0.6843, allocations: 2.543 MB / 0.7955 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0135/0.6979, allocations: 8.538 MB / 0.8038 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6979, allocations: 1.531 kB / 0.8038 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.428e-06/0.6979, allocations: 3.938 kB / 0.8038 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002258/0.6981, allocations: 3.938 kB / 0.8038 GB, free: 9.199 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01266/0.7108, allocations: 4.544 MB / 0.8083 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.7109, allocations: 9.156 kB / 0.8083 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001374/0.7123, allocations: 0.575 MB / 0.8088 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008986/0.7213, allocations: 1.706 MB / 0.8105 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006241/0.7275, allocations: 2.712 MB / 0.8131 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.7278, allocations: 274.1 kB / 0.8134 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/0.7292, allocations: 366.4 kB / 0.8137 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.7491, allocations: 7.485 MB / 0.8211 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001865/0.7493, allocations: 15.83 kB / 0.8211 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001892/0.7512, allocations: 163.9 kB / 0.8212 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007558/0.752, allocations: 483.3 kB / 0.8217 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.7652, allocations: 5.701 MB / 0.8273 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05337/0.8186, allocations: 31.53 MB / 0.858 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003481/0.8221, allocations: 2.09 MB / 0.8601 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003642/0.8258, allocations: 2.178 MB / 0.8622 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.826, allocations: 13.31 kB / 0.8622 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.719e-05/0.8261, allocations: 55.86 kB / 0.8623 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 3.526e-06/0.8261, allocations: 0 / 0.8623 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=251): time 0.3289/1.155, allocations: 77.08 MB / 0.9376 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/1.155, allocations: 81.34 kB / 0.9376 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/1.158, allocations: 1.666 MB / 0.9393 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004952/1.159, allocations: 69.7 kB / 0.9393 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001484/1.16, allocations: 1.799 MB / 0.9411 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.161, allocations: 0.8984 MB / 0.942 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/1.162, allocations: 481.4 kB / 0.9424 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.162, allocations: 305.1 kB / 0.9427 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004331/1.167, allocations: 2.73 MB / 0.9454 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005009/1.172, allocations: 3.328 MB / 0.9486 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/1.182, allocations: 6.397 MB / 0.9549 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/1.182, allocations: 4 kB / 0.9549 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03667/1.219, allocations: 14.69 MB / 0.9692 GB, free: 460 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/1.219, allocations: 12 kB / 0.9692 GB, free: 448 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/1.219, allocations: 19.94 kB / 0.9693 GB, free: 428 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03277/1.252, allocations: 9.238 MB / 0.9783 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.253, allocations: 299.4 kB / 0.9786 GB, free: 6.859 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0962/1.349, allocations: 52.41 MB / 1.03 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/1.353, allocations: 227.7 kB / 1.03 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006801/1.354, allocations: 96 kB / 1.03 GB, free: 1.262 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004058/1.358, allocations: 1.586 MB / 1.032 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009389/1.359, allocations: 262.5 kB / 1.032 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03851/1.397, allocations: 14.75 MB / 1.046 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.41e-05/1.397, allocations: 24 kB / 1.046 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001553/1.398, allocations: 44 kB / 1.046 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.447e-05/1.398, allocations: 12.28 kB / 1.046 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04759/1.445, allocations: 20.53 MB / 1.066 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-05/1.445, allocations: 4 kB / 1.066 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008717/1.446, allocations: 163.7 kB / 1.067 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03168/1.478, allocations: 9 MB / 1.075 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007374/1.479, allocations: 51.98 kB / 1.075 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4495/1.928, allocations: 51.94 MB / 1.126 GB, free: 264.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/1.928, allocations: 14.84 kB / 1.126 GB, free: 264.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02887/1.957, allocations: 14.38 MB / 1.14 GB, free: 260.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/1.959, allocations: 0.8583 MB / 1.141 GB, free: 259.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006184/1.96, allocations: 49.53 kB / 1.141 GB, free: 259.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/1.962, allocations: 211.6 kB / 1.141 GB, free: 259.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001625/1.964, allocations: 241.7 kB / 1.141 GB, free: 259.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002497/1.964, allocations: 67.64 kB / 1.142 GB, free: 259.3 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001401/1.966, allocations: 1.125 MB / 1.143 GB, free: 258.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.8e-07/1.966, allocations: 0 / 1.143 GB, free: 258.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005037/1.971, allocations: 1.611 MB / 1.144 GB, free: 258.6 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02824/1.999, allocations: 14.99 MB / 1.159 GB, free: 243.4 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02134/2.02, allocations: 10.58 MB / 1.169 GB, free: 232.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/2.02, allocations: 2.734 kB / 1.169 GB, free: 232.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01629/2.037, allocations: 7.339 MB / 1.176 GB, free: 225.4 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/2.04, allocations: 0.5568 MB / 1.177 GB, free: 224.9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09506/2.135, allocations: 50.97 MB / 1.227 GB, free: 172.9 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004558/2.139, allocations: 3.224 MB / 1.23 GB, free: 169.7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001062/2.141, allocations: 390.8 kB / 1.23 GB, free: 169.3 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/2.142, allocations: 1.464 MB / 1.232 GB, free: 167.9 MB / 0.8575 GB Notification: Performance of SimCode: time 1.102e-06/2.142, allocations: 0 / 1.232 GB, free: 167.9 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1645/2.307, allocations: 120.8 MB / 1.35 GB, free: 47.51 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/17.4, allocations: 7.75 kB / 1.35 GB, free: 47.5 MB / 0.8575 GB " [Timeout remaining time 642] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.75336667569354] Failed to read output from testmodel.py, exit status != 0: 17.534737852867693 17.548881076 16.847856549 Calling exit ...