Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0007773/0.0007773, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007775/0.0007775, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8357/0.8357, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.001391/0.001391, allocations: 232.1 kB / 260.2 MB, free: 13.01 MB / 250.7 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.6406/0.6406, allocations: 138.4 MB / 455.1 MB, free: 1.629 MB / 362.7 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6475 GB, free: 28.83 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.155e-05, allocations: 2.281 kB / 0.6475 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01801/0.01803, allocations: 32.97 MB / 0.6797 GB, free: 140 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.02976, allocations: 9.877 MB / 0.6894 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.03163, allocations: 194.6 kB / 0.6896 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.003934/0.03556, allocations: 3.848 MB / 0.6933 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003214/0.03877, allocations: 2.206 MB / 0.6955 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.04137, allocations: 1.965 MB / 0.6974 GB, free: 14 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005231/0.0466, allocations: 8.141 MB / 0.7054 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004408/0.05101, allocations: 5.252 MB / 0.7105 GB, free: 468 kB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004142/0.05515, allocations: 4.892 MB / 0.7153 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.05784, allocations: 3.452 MB / 0.7186 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005661/0.05841, allocations: 0.6836 MB / 0.7193 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.05995, allocations: 1.377 MB / 0.7206 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001578/0.06153, allocations: 2.802 MB / 0.7234 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.06298, allocations: 2.168 MB / 0.7255 GB, free: 1.051 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.006144/0.06912, allocations: 10.58 MB / 0.7358 GB, free: 6.441 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.06913, allocations: 0 / 0.7358 GB, free: 6.441 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.06913, allocations: 3.938 kB / 0.7358 GB, free: 6.438 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.167e-05/0.06922, allocations: 0 / 0.7358 GB, free: 6.438 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.005399/0.07462, allocations: 5.407 MB / 0.7411 GB, free: 0.9727 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.07466, allocations: 12.75 kB / 0.7411 GB, free: 0.9609 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/0.07688, allocations: 1.004 MB / 0.7421 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/0.08025, allocations: 3.131 MB / 0.7452 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.0804, allocations: 353.9 kB / 0.7455 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004388/0.08084, allocations: 472.3 kB / 0.746 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007308/0.08815, allocations: 8.667 MB / 0.7544 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.148e-05/0.08822, allocations: 24 kB / 0.7544 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.08852, allocations: 208.9 kB / 0.7546 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002685/0.08879, allocations: 369.1 kB / 0.755 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005789/0.09458, allocations: 5.929 MB / 0.7608 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/0.1101, allocations: 22.92 MB / 0.7832 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.1121, allocations: 1.981 MB / 0.7851 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.1132, allocations: 1.332 MB / 0.7864 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-05/0.1133, allocations: 17.31 kB / 0.7864 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1133, allocations: 55.88 kB / 0.7865 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=157): time 2.966e-06/0.1133, allocations: 0 / 0.7865 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of matching and sorting (n=160): time 0.007272/0.1206, allocations: 6.64 MB / 0.793 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.1206, allocations: 76.66 kB / 0.793 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.1219, allocations: 1.709 MB / 0.7947 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.971e-05/0.122, allocations: 49.7 kB / 0.7947 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008062/0.1228, allocations: 2.199 MB / 0.7969 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.1231, allocations: 0.5732 MB / 0.7975 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/0.1235, allocations: 404 kB / 0.7978 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.1235, allocations: 301.1 kB / 0.7981 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.1246, allocations: 1.062 MB / 0.7992 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.1259, allocations: 1.76 MB / 0.8009 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/0.1282, allocations: 3.053 MB / 0.8039 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.1282, allocations: 8 kB / 0.8039 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00372/0.1319, allocations: 3.875 MB / 0.8077 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.1319, allocations: 19.98 kB / 0.8077 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.132, allocations: 24.88 kB / 0.8077 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.1332, allocations: 0.931 MB / 0.8086 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007419/0.134, allocations: 427.3 kB / 0.809 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.1452, allocations: 21.1 MB / 0.8296 GB, free: 2.945 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009193/0.1461, allocations: 119.9 kB / 0.8297 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/0.1462, allocations: 96 kB / 0.8298 GB, free: 2.734 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002074/0.1483, allocations: 1.649 MB / 0.8314 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.1485, allocations: 250.5 kB / 0.8317 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/0.1517, allocations: 3.233 MB / 0.8348 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.1517, allocations: 19.94 kB / 0.8349 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.1517, allocations: 11.98 kB / 0.8349 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.1517, allocations: 11.91 kB / 0.8349 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006339/0.158, allocations: 6.441 MB / 0.8412 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.158, allocations: 4 kB / 0.8412 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.1585, allocations: 211.7 kB / 0.8414 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.1596, allocations: 0.8964 MB / 0.8422 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.1597, allocations: 28 kB / 0.8423 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2384/0.3981, allocations: 21.07 MB / 0.8629 GB, free: 189.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3981, allocations: 4.969 kB / 0.8629 GB, free: 189.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004129/0.4022, allocations: 3.331 MB / 0.8661 GB, free: 189.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007218/0.4029, allocations: 458.2 kB / 0.8665 GB, free: 189.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.4031, allocations: 36.64 kB / 0.8666 GB, free: 189.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/0.4037, allocations: 89.12 kB / 0.8667 GB, free: 189.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/0.404, allocations: 150.2 kB / 0.8668 GB, free: 189.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.081e-05/0.4041, allocations: 45.75 kB / 0.8669 GB, free: 189.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00111/0.4052, allocations: 1.09 MB / 0.8679 GB, free: 189 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4052, allocations: 0 / 0.8679 GB, free: 189 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001886/0.4071, allocations: 0.9034 MB / 0.8688 GB, free: 189 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000189/0.4072, allocations: 162.5 kB / 0.869 GB, free: 188.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003376/0.4106, allocations: 4.281 MB / 0.8731 GB, free: 187.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4106, allocations: 1.406 kB / 0.8731 GB, free: 187.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.4126, allocations: 2.895 MB / 0.876 GB, free: 185.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.4142, allocations: 0.7689 MB / 0.8767 GB, free: 185 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008118/0.4223, allocations: 8.425 MB / 0.8849 GB, free: 181.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/0.4243, allocations: 2.731 MB / 0.8876 GB, free: 180.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.4246, allocations: 155.2 kB / 0.8878 GB, free: 180.5 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/0.4246, allocations: 0 / 0.8878 GB, free: 180.5 MB / 0.698 GB Notification: Performance of Templates: time 0.3724/0.797, allocations: 340.6 MB / 1.22 GB, free: 235.2 MB / 0.7917 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.7234191223979] Failed to read output from testmodel.py, exit status != 0: 0.8018718687817454 0.8076631439999999 0.73714941 Calling exit ...