Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001181/0.001181, allocations: 107.6 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.001158/0.001158, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.275/1.275, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002333/0.002333, allocations: 293.3 kB / 303 MB, free: 9.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.082/1.082, allocations: 180.9 MB / 0.5261 GB, free: 14.74 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 104.1 kB / 0.7248 GB, free: 40.08 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1279, allocations: 94.16 MB / 0.8167 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007397/0.1353, allocations: 5.606 MB / 0.8222 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004346/0.1396, allocations: 2.669 MB / 0.8248 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003911/0.14, allocations: 31.75 kB / 0.8248 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.1418, allocations: 0.6836 MB / 0.8255 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.1429, allocations: 425.7 kB / 0.8259 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009434/0.1438, allocations: 415 kB / 0.8263 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.145, allocations: 0.9513 MB / 0.8272 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005759/0.1455, allocations: 382.8 kB / 0.8276 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005221/0.1461, allocations: 370.6 kB / 0.828 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005366/0.1466, allocations: 438.3 kB / 0.8284 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.345e-05/0.1467, allocations: 48 kB / 0.8284 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005966/0.1473, allocations: 367.2 kB / 0.8288 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.1475, allocations: 259.2 kB / 0.829 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.1478, allocations: 346.2 kB / 0.8293 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.1489, allocations: 0.9806 MB / 0.8303 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1489, allocations: 0 / 0.8303 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1489, allocations: 4 kB / 0.8303 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.1489, allocations: 0 / 0.8303 GB, free: 7.504 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001542/0.1505, allocations: 0.9999 MB / 0.8313 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1505, allocations: 12.02 kB / 0.8313 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.1506, allocations: 98.69 kB / 0.8314 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.1519, allocations: 196.3 kB / 0.8316 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008664/0.1527, allocations: 0.5378 MB / 0.8321 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.1528, allocations: 37.38 kB / 0.8321 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.1529, allocations: 56.5 kB / 0.8322 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.154, allocations: 0.8278 MB / 0.833 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.1541, allocations: 7.938 kB / 0.833 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/0.1541, allocations: 20 kB / 0.833 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/0.1543, allocations: 64.95 kB / 0.8331 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/0.1552, allocations: 0.5658 MB / 0.8336 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004452/0.1596, allocations: 4.593 MB / 0.8381 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.1601, allocations: 275.3 kB / 0.8384 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.1603, allocations: 209.3 kB / 0.8386 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.1604, allocations: 4.281 kB / 0.8386 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1604, allocations: 34.84 kB / 0.8386 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.1604, allocations: 4 kB / 0.8386 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005202/0.1656, allocations: 2.635 MB / 0.8412 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1656, allocations: 55.41 kB / 0.8413 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.1661, allocations: 466 kB / 0.8417 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.1662, allocations: 29.7 kB / 0.8417 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.1664, allocations: 352.5 kB / 0.8421 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.1665, allocations: 150.7 kB / 0.8422 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.1667, allocations: 110.2 kB / 0.8423 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1668, allocations: 362.8 kB / 0.8427 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.1672, allocations: 241 kB / 0.8429 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.1676, allocations: 406.4 kB / 0.8433 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008518/0.1685, allocations: 0.6747 MB / 0.8439 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1685, allocations: 0 / 0.8439 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001598/0.1701, allocations: 0.9136 MB / 0.8448 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1701, allocations: 8 kB / 0.8448 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1701, allocations: 4 kB / 0.8448 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007367/0.1708, allocations: 230.8 kB / 0.8451 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.1713, allocations: 115.8 kB / 0.8452 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005094/0.1764, allocations: 5.34 MB / 0.8504 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.1768, allocations: 27.97 kB / 0.8504 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.1769, allocations: 28 kB / 0.8504 GB, free: 1.559 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002821/0.1771, allocations: 226.3 kB / 0.8507 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.353e-05/0.1772, allocations: 63.56 kB / 0.8507 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.1787, allocations: 0.762 MB / 0.8515 GB, free: 496 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1787, allocations: 7.938 kB / 0.8515 GB, free: 488 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1787, allocations: 4 kB / 0.8515 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1787, allocations: 3.984 kB / 0.8515 GB, free: 480 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.1811, allocations: 1.498 MB / 0.8529 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1811, allocations: 4 kB / 0.8529 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.1814, allocations: 71.88 kB / 0.853 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006308/0.1821, allocations: 206.7 kB / 0.8532 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.1821, allocations: 12 kB / 0.8532 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004876/0.187, allocations: 5.267 MB / 0.8584 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.187, allocations: 3.938 kB / 0.8584 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.1887, allocations: 1.132 MB / 0.8595 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.189, allocations: 176.6 kB / 0.8596 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.189, allocations: 16 kB / 0.8597 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.1893, allocations: 19.97 kB / 0.8597 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.1894, allocations: 35.89 kB / 0.8597 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.1895, allocations: 16 kB / 0.8597 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000338/0.1898, allocations: 318.9 kB / 0.86 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.1898, allocations: 0 / 0.86 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006154/0.1904, allocations: 168 kB / 0.8602 GB, free: 6.969 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002013/0.1924, allocations: 1.699 MB / 0.8618 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.194, allocations: 0.9657 MB / 0.8628 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.194, allocations: 0 / 0.8628 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009279/0.1949, allocations: 0.6681 MB / 0.8634 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007937/0.1957, allocations: 186.4 kB / 0.8636 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007411/0.2031, allocations: 5.634 MB / 0.8691 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.2037, allocations: 0.9572 MB / 0.8701 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003268/0.204, allocations: 117 kB / 0.8702 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.2042, allocations: 219.2 kB / 0.8704 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.2042, allocations: 0 / 0.8704 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04816/0.2524, allocations: 14.32 MB / 0.8844 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.38, allocations: 8.75 kB / 0.8844 GB, free: 14.09 MB / 0.6387 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.011384283658117] Failed to read output from testmodel.py, exit status != 0: 10.476460159756243 10.492647064 10.340523405999999 Calling exit ...