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.001331/0.001331, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001565/0.001565, allocations: 192.3 kB / 22.85 MB, free: 5.652 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.399/1.399, allocations: 225.6 MB / 251.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.002607/0.002607, allocations: 290.6 kB / 307 MB, free: 8.375 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.247/1.247, allocations: 180.8 MB / 0.5304 GB, free: 14.39 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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002876/0.002876, allocations: 101.6 kB / 0.7311 GB, free: 38.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1512, allocations: 94.2 MB / 0.8231 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008527/0.1597, allocations: 5.713 MB / 0.8287 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004716/0.1644, allocations: 2.724 MB / 0.8313 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.1649, allocations: 35.69 kB / 0.8313 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.1669, allocations: 0.7104 MB / 0.832 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.168, allocations: 425.7 kB / 0.8324 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1691, allocations: 415 kB / 0.8328 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001339/0.1704, allocations: 0.971 MB / 0.8338 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005699/0.171, allocations: 327 kB / 0.8341 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005983/0.1716, allocations: 390.5 kB / 0.8345 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006914/0.1723, allocations: 426.4 kB / 0.8349 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.1724, allocations: 51.94 kB / 0.8349 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006172/0.173, allocations: 339.2 kB / 0.8353 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002881/0.1733, allocations: 247.2 kB / 0.8355 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.1737, allocations: 346.3 kB / 0.8358 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.1749, allocations: 0.9844 MB / 0.8368 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1749, allocations: 0 / 0.8368 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.011e-06/0.1749, allocations: 0 / 0.8368 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.152e-05/0.175, allocations: 0 / 0.8368 GB, free: 3.812 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.001686/0.1766, allocations: 0.9208 MB / 0.8377 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1767, allocations: 8.625 kB / 0.8377 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.1781, allocations: 200.3 kB / 0.8379 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008682/0.179, allocations: 468.8 kB / 0.8383 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.179, allocations: 37.36 kB / 0.8384 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.1792, allocations: 64.5 kB / 0.8384 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.1804, allocations: 0.824 MB / 0.8392 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.1804, allocations: 3.984 kB / 0.8392 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.1805, allocations: 31.98 kB / 0.8393 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/0.1807, allocations: 60.95 kB / 0.8393 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009721/0.1817, allocations: 0.5735 MB / 0.8399 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004817/0.1865, allocations: 4.489 MB / 0.8443 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.187, allocations: 275.3 kB / 0.8445 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.1873, allocations: 209.3 kB / 0.8447 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.1873, allocations: 8.219 kB / 0.8447 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1873, allocations: 38.84 kB / 0.8448 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.1873, allocations: 0 / 0.8448 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.00572/0.1931, allocations: 2.34 MB / 0.8471 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.1931, allocations: 55.41 kB / 0.8471 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005372/0.1937, allocations: 466 kB / 0.8476 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.1937, allocations: 29.7 kB / 0.8476 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.194, allocations: 356.5 kB / 0.8479 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.1941, allocations: 150.7 kB / 0.8481 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.1943, allocations: 102.3 kB / 0.8482 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1945, allocations: 362.8 kB / 0.8485 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.1949, allocations: 241.2 kB / 0.8487 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.1954, allocations: 411.3 kB / 0.8491 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009692/0.1964, allocations: 0.675 MB / 0.8498 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.1964, allocations: 4 kB / 0.8498 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001828/0.1982, allocations: 0.91 MB / 0.8507 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1982, allocations: 8 kB / 0.8507 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1982, allocations: 7.938 kB / 0.8507 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008261/0.199, allocations: 234.5 kB / 0.8509 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/0.1996, allocations: 119.8 kB / 0.851 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/0.2054, allocations: 5.027 MB / 0.8559 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.2058, allocations: 31.97 kB / 0.856 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.2059, allocations: 24 kB / 0.856 GB, free: 15.01 MB / 0.6075 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.0003181/0.2062, allocations: 225.7 kB / 0.8562 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.2063, allocations: 63.56 kB / 0.8563 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.208, allocations: 0.762 MB / 0.857 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.208, allocations: 4 kB / 0.857 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.208, allocations: 4 kB / 0.857 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.208, allocations: 3.984 kB / 0.857 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.2108, allocations: 1.465 MB / 0.8585 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.2108, allocations: 8.219 kB / 0.8585 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.2112, allocations: 67.89 kB / 0.8585 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007399/0.2119, allocations: 206.4 kB / 0.8587 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.2119, allocations: 8 kB / 0.8587 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005467/0.2174, allocations: 4.983 MB / 0.8636 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2174, allocations: 0 / 0.8636 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.2194, allocations: 1.124 MB / 0.8647 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.2196, allocations: 99.64 kB / 0.8648 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.2198, allocations: 19.92 kB / 0.8648 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.2201, allocations: 23.97 kB / 0.8648 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-05/0.2202, allocations: 35.94 kB / 0.8649 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.2202, allocations: 12 kB / 0.8649 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003972/0.2206, allocations: 314.9 kB / 0.8652 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2206, allocations: 0 / 0.8652 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007058/0.2213, allocations: 172 kB / 0.8654 GB, free: 4.926 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.0001472/0.2215, allocations: 112.8 kB / 0.8655 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001779/0.2233, allocations: 0.9767 MB / 0.8664 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2233, allocations: 0 / 0.8664 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.2243, allocations: 0.6681 MB / 0.8671 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/0.2252, allocations: 171.2 kB / 0.8672 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.2274, allocations: 1.289 MB / 0.8685 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.2281, allocations: 0.957 MB / 0.8694 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003366/0.2284, allocations: 117 kB / 0.8695 GB, free: 496 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2285, allocations: 39.44 kB / 0.8696 GB, free: 456 kB / 0.6075 GB Notification: Performance of SimCode: time 1.042e-06/0.2285, allocations: 0 / 0.8696 GB, free: 456 kB / 0.6075 GB Notification: Performance of Templates: time 0.01758/0.2461, allocations: 9.405 MB / 0.8788 GB, free: 7.172 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.251432443037629] Failed to read output from testmodel.py, exit status != 0: 0.2539183278568089 0.268765339 0.090684174 Calling exit ...