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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 78.72 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 159.4 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 177.2 MB / 203.4 MB, free: 8.887 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002482/0.002482, allocations: 225.2 kB / 260 MB, free: 444 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9382/0.9382, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003151/0.003151, allocations: 99.84 kB / 0.6473 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4295, allocations: 95.34 MB / 0.7405 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006362/0.4358, allocations: 5.355 MB / 0.7457 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004145/0.44, allocations: 2.627 MB / 0.7482 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004192/0.4404, allocations: 32.69 kB / 0.7483 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.4422, allocations: 0.6838 MB / 0.7489 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009312/0.4432, allocations: 427.1 kB / 0.7494 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009997/0.4442, allocations: 408 kB / 0.7497 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009753/0.4451, allocations: 0.9599 MB / 0.7507 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005413/0.4457, allocations: 375.5 kB / 0.751 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.4462, allocations: 388 kB / 0.7514 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005642/0.4467, allocations: 416.1 kB / 0.7518 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.319e-05/0.4468, allocations: 46.94 kB / 0.7518 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006465/0.4475, allocations: 324.5 kB / 0.7522 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.4477, allocations: 259.7 kB / 0.7524 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.448, allocations: 293.7 kB / 0.7527 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.4492, allocations: 0.9861 MB / 0.7536 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4492, allocations: 1.688 kB / 0.7537 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4492, allocations: 0.5156 kB / 0.7537 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.4492, allocations: 0 / 0.7537 GB, free: 9.828 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001487/0.4507, allocations: 0.9265 MB / 0.7546 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4508, allocations: 10.09 kB / 0.7546 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.4522, allocations: 201.2 kB / 0.7548 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007944/0.453, allocations: 474.2 kB / 0.7552 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.453, allocations: 37.88 kB / 0.7552 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.4532, allocations: 56.31 kB / 0.7553 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.4542, allocations: 0.9822 MB / 0.7563 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.4542, allocations: 6.906 kB / 0.7563 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.738e-05/0.4543, allocations: 19.28 kB / 0.7563 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/0.4545, allocations: 70.84 kB / 0.7564 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008094/0.4553, allocations: 0.5647 MB / 0.7569 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.4586, allocations: 3.481 MB / 0.7603 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.459, allocations: 282.2 kB / 0.7606 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.4593, allocations: 214.9 kB / 0.7608 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.4593, allocations: 3.469 kB / 0.7608 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.4593, allocations: 46.28 kB / 0.7608 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.4593, allocations: 0 / 0.7608 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005203/0.4645, allocations: 2.342 MB / 0.7631 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.4646, allocations: 60.06 kB / 0.7632 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.465, allocations: 430.4 kB / 0.7636 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.465, allocations: 40.5 kB / 0.7636 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.4652, allocations: 346.6 kB / 0.7639 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/0.4652, allocations: 156.2 kB / 0.7641 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.4654, allocations: 102.8 kB / 0.7642 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.4655, allocations: 362.6 kB / 0.7645 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.4658, allocations: 236.1 kB / 0.7648 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.4662, allocations: 415.6 kB / 0.7652 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007378/0.4669, allocations: 0.6719 MB / 0.7658 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4669, allocations: 5.219 kB / 0.7658 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001512/0.4684, allocations: 0.9087 MB / 0.7667 GB, free: 384 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.4684, allocations: 10.16 kB / 0.7667 GB, free: 384 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4685, allocations: 5.594 kB / 0.7667 GB, free: 384 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007289/0.4692, allocations: 222.3 kB / 0.7669 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.4697, allocations: 116.7 kB / 0.767 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005592/0.4753, allocations: 4.948 MB / 0.7719 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.4758, allocations: 29.81 kB / 0.7719 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.4759, allocations: 26.34 kB / 0.7719 GB, free: 11.73 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.0003641/0.4763, allocations: 225.3 kB / 0.7721 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.4764, allocations: 53.8 kB / 0.7722 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.4779, allocations: 0.7597 MB / 0.7729 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4779, allocations: 4.125 kB / 0.7729 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4779, allocations: 2.75 kB / 0.7729 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.4779, allocations: 4.078 kB / 0.773 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.4805, allocations: 1.325 MB / 0.7742 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.4805, allocations: 6.234 kB / 0.7743 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.4809, allocations: 68.72 kB / 0.7743 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007051/0.4816, allocations: 214.1 kB / 0.7745 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.4816, allocations: 8.5 kB / 0.7745 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005292/0.4869, allocations: 4.868 MB / 0.7793 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4869, allocations: 2.094 kB / 0.7793 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.4888, allocations: 1.132 MB / 0.7804 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.4891, allocations: 92.59 kB / 0.7805 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.4892, allocations: 11.59 kB / 0.7805 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.4895, allocations: 28.77 kB / 0.7805 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.4896, allocations: 36.72 kB / 0.7806 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.4896, allocations: 13.72 kB / 0.7806 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003541/0.49, allocations: 293.4 kB / 0.7808 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.49, allocations: 4 kB / 0.7808 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007702/0.4907, allocations: 165.6 kB / 0.781 GB, free: 4.555 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.0001593/0.4909, allocations: 115 kB / 0.7811 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.4926, allocations: 0.9692 MB / 0.7821 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4926, allocations: 1.125 kB / 0.7821 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.4936, allocations: 0.6692 MB / 0.7827 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008921/0.4945, allocations: 178.9 kB / 0.7829 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.4966, allocations: 1.278 MB / 0.7841 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.497, allocations: 355.9 kB / 0.7845 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003319/0.4974, allocations: 108.2 kB / 0.7846 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.595e-05/0.4975, allocations: 40.44 kB / 0.7846 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/0.4975, allocations: 0 / 0.7846 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of Templates: time 0.01718/0.5146, allocations: 9.104 MB / 0.7935 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 659] 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 ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.119851844967343] Failed to read output from testmodel.py, exit status != 0: 0.5231818809406832 0.538430265 0.085881017 Calling exit ...