Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0008868/0.0008868, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009418/0.0009418, allocations: 169 kB / 23.02 MB, free: 1.551 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.9248/0.9248, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001579/0.001579, allocations: 236.9 kB / 260.2 MB, free: 12.82 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.6719/0.6719, allocations: 138.4 MB / 455.2 MB, free: 1.543 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/2.01e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006133/0.006153, allocations: 4.197 MB / 0.5592 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.009251, allocations: 1.571 MB / 0.5607 GB, free: 10.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003519/0.009603, allocations: 47.56 kB / 0.5608 GB, free: 10.69 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007161/0.01032, allocations: 186.7 kB / 0.561 GB, free: 10.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.01139, allocations: 413.4 kB / 0.5614 GB, free: 10.1 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007797/0.01217, allocations: 383.2 kB / 0.5617 GB, free: 9.723 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.01345, allocations: 1.139 MB / 0.5628 GB, free: 8.582 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008472/0.0143, allocations: 0.5139 MB / 0.5633 GB, free: 8.062 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000894/0.01519, allocations: 0.6039 MB / 0.5639 GB, free: 7.457 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006992/0.01589, allocations: 438.8 kB / 0.5644 GB, free: 7.027 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.01601, allocations: 56 kB / 0.5644 GB, free: 6.973 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.01631, allocations: 131.8 kB / 0.5645 GB, free: 6.844 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.01662, allocations: 311.1 kB / 0.5648 GB, free: 6.539 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.01693, allocations: 271.3 kB / 0.5651 GB, free: 6.273 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008445/0.01778, allocations: 0.685 MB / 0.5658 GB, free: 5.586 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01778, allocations: 0 / 0.5658 GB, free: 5.586 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01778, allocations: 3.938 kB / 0.5658 GB, free: 5.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.0178, allocations: 0 / 0.5658 GB, free: 5.582 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001463/0.01927, allocations: 1.052 MB / 0.5668 GB, free: 4.492 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.01931, allocations: 12.73 kB / 0.5668 GB, free: 4.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.02071, allocations: 343.6 kB / 0.5671 GB, free: 4.145 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006983/0.02141, allocations: 0.5576 MB / 0.5677 GB, free: 3.555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.02144, allocations: 49.67 kB / 0.5677 GB, free: 3.508 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.02151, allocations: 60.38 kB / 0.5678 GB, free: 3.449 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007824/0.0223, allocations: 0.9092 MB / 0.5687 GB, free: 2.375 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.02232, allocations: 8.141 kB / 0.5687 GB, free: 2.367 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.02236, allocations: 24.38 kB / 0.5687 GB, free: 2.344 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.921e-05/0.02243, allocations: 81.14 kB / 0.5688 GB, free: 2.262 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.02292, allocations: 331.2 kB / 0.5691 GB, free: 1.938 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.02632, allocations: 5.635 MB / 0.5746 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.02672, allocations: 250.4 kB / 0.5748 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/0.0271, allocations: 251.5 kB / 0.5751 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.02714, allocations: 8 kB / 0.5751 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.02716, allocations: 41.39 kB / 0.5751 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=41): time 1.613e-06/0.02716, allocations: 0 / 0.5751 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.001999/0.02916, allocations: 1.156 MB / 0.5762 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.02919, allocations: 55.41 kB / 0.5763 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.02947, allocations: 474.4 kB / 0.5768 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.0295, allocations: 33.7 kB / 0.5768 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.02995, allocations: 442.7 kB / 0.5772 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/0.03003, allocations: 162.7 kB / 0.5774 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.03013, allocations: 108 kB / 0.5775 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.03026, allocations: 0.5352 MB / 0.578 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.0304, allocations: 109.2 kB / 0.5781 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.03066, allocations: 404.8 kB / 0.5785 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.0311, allocations: 0.5526 MB / 0.579 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.0311, allocations: 4 kB / 0.579 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008645/0.03197, allocations: 0.7253 MB / 0.5797 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.03198, allocations: 8 kB / 0.5797 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.03199, allocations: 8 kB / 0.5797 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/0.0326, allocations: 263.2 kB / 0.58 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.03277, allocations: 99.77 kB / 0.5801 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005719/0.03849, allocations: 7.72 MB / 0.5876 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.03866, allocations: 27.98 kB / 0.5877 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.03869, allocations: 35.98 kB / 0.5877 GB, free: 13.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.03883, allocations: 196.3 kB / 0.5879 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.0389, allocations: 75.56 kB / 0.5879 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007415/0.03964, allocations: 0.5598 MB / 0.5885 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.03965, allocations: 4 kB / 0.5885 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.03965, allocations: 4 kB / 0.5885 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.03966, allocations: 7.922 kB / 0.5885 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.0409, allocations: 1.153 MB / 0.5896 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.0409, allocations: 0 / 0.5896 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.663e-05/0.04099, allocations: 43.91 kB / 0.5897 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005212/0.04151, allocations: 258.7 kB / 0.5899 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.04153, allocations: 8 kB / 0.5899 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003553/0.04508, allocations: 7.715 MB / 0.5975 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.04509, allocations: 0 / 0.5975 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.04585, allocations: 0.7424 MB / 0.5982 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.04597, allocations: 91.56 kB / 0.5983 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.046, allocations: 16.14 kB / 0.5983 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.04613, allocations: 23.97 kB / 0.5983 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.04619, allocations: 47.91 kB / 0.5984 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.04621, allocations: 11.94 kB / 0.5984 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001725/0.04638, allocations: 302.7 kB / 0.5987 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.04638, allocations: 0 / 0.5987 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004224/0.0468, allocations: 196 kB / 0.5988 GB, free: 1.652 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001024/0.0469, allocations: 114 kB / 0.599 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009301/0.04783, allocations: 1.137 MB / 0.6001 GB, free: 336 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.04784, allocations: 0 / 0.6001 GB, free: 336 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.171/0.2188, allocations: 0.9458 MB / 0.601 GB, free: 92.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.2195, allocations: 196.7 kB / 0.6012 GB, free: 92.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.221, allocations: 1.167 MB / 0.6023 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.2211, allocations: 210.7 kB / 0.6025 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.2212, allocations: 80.23 kB / 0.6026 GB, free: 91.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.2213, allocations: 38.45 kB / 0.6026 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of SimCode: time 1.223e-06/0.2213, allocations: 0 / 0.6026 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.01253/0.2338, allocations: 10.55 MB / 0.6129 GB, free: 90.96 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9637543340213597]