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.001803/0.001803, allocations: 85.48 kB / 19.44 MB, free: 344 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.002028/0.002028, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.595/1.595, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.003293/0.003293, allocations: 243.6 kB / 259.8 MB, free: 12.84 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 1.169/1.169, allocations: 138.4 MB / 454.7 MB, free: 1.488 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.353e-06/1.353e-06, allocations: 0 / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.824e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.01016/0.01019, allocations: 6.167 MB / 0.5604 GB, free: 10.65 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006669/0.01685, allocations: 3.242 MB / 0.5635 GB, free: 7.398 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004902/0.01735, allocations: 39.62 kB / 0.5636 GB, free: 7.359 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.02023, allocations: 0.9686 MB / 0.5645 GB, free: 6.387 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.02162, allocations: 0.4971 MB / 0.565 GB, free: 5.887 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.02296, allocations: 0.5023 MB / 0.5655 GB, free: 5.383 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.02453, allocations: 1.135 MB / 0.5666 GB, free: 4.242 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009451/0.02547, allocations: 0.51 MB / 0.5671 GB, free: 3.727 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009822/0.02645, allocations: 0.6117 MB / 0.5677 GB, free: 3.113 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000731/0.02719, allocations: 426.8 kB / 0.5681 GB, free: 2.695 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.0273, allocations: 64 kB / 0.5682 GB, free: 2.633 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000944/0.02824, allocations: 454.7 kB / 0.5686 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003855/0.02863, allocations: 307.2 kB / 0.5689 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.02901, allocations: 275.3 kB / 0.5691 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.03095, allocations: 1.211 MB / 0.5703 GB, free: 412 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.03095, allocations: 3.938 kB / 0.5703 GB, free: 408 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.03095, allocations: 0 / 0.5703 GB, free: 408 kB / 490.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.03096, allocations: 0 / 0.5703 GB, free: 408 kB / 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.002014/0.03298, allocations: 1.161 MB / 0.5715 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.03302, allocations: 8.75 kB / 0.5715 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.03473, allocations: 339.7 kB / 0.5718 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.03586, allocations: 0.5499 MB / 0.5723 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.03592, allocations: 53.67 kB / 0.5724 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.03604, allocations: 64.36 kB / 0.5724 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.03754, allocations: 0.9677 MB / 0.5734 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.03757, allocations: 8.141 kB / 0.5734 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/0.03765, allocations: 36.3 kB / 0.5734 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.03776, allocations: 69.2 kB / 0.5735 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007963/0.03855, allocations: 376.6 kB / 0.5739 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006397/0.04495, allocations: 5.814 MB / 0.5795 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.04563, allocations: 258.9 kB / 0.5798 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007565/0.04638, allocations: 267.5 kB / 0.58 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.232e-05/0.04643, allocations: 4 kB / 0.58 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.04646, allocations: 37.39 kB / 0.5801 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=41): time 1.763e-06/0.04647, allocations: 0 / 0.5801 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.004002/0.05047, allocations: 1.195 MB / 0.5812 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.05052, allocations: 55.41 kB / 0.5813 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006515/0.05117, allocations: 0.557 MB / 0.5818 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.05121, allocations: 29.7 kB / 0.5819 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/0.05161, allocations: 462.7 kB / 0.5823 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.05178, allocations: 162.7 kB / 0.5825 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.05199, allocations: 127.9 kB / 0.5826 GB, free: 3.297 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003484/0.05234, allocations: 0.5547 MB / 0.5831 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.0526, allocations: 121.2 kB / 0.5832 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/0.05339, allocations: 440.8 kB / 0.5837 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009079/0.0543, allocations: 0.6031 MB / 0.5843 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.0543, allocations: 4 kB / 0.5843 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001749/0.05605, allocations: 0.7684 MB / 0.585 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.05607, allocations: 8 kB / 0.585 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.05609, allocations: 11.94 kB / 0.585 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.05731, allocations: 279.1 kB / 0.5853 GB, free: 216 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.05766, allocations: 99.75 kB / 0.5854 GB, free: 116 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008703/0.06636, allocations: 7.903 MB / 0.5931 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.06676, allocations: 27.97 kB / 0.5931 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.06681, allocations: 28 kB / 0.5932 GB, free: 7.66 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.0003181/0.06713, allocations: 220.3 kB / 0.5934 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.06727, allocations: 71.67 kB / 0.5934 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.06886, allocations: 0.591 MB / 0.594 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.06887, allocations: 4 kB / 0.594 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.06887, allocations: 4 kB / 0.594 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.06889, allocations: 7.922 kB / 0.594 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/0.07156, allocations: 1.278 MB / 0.5953 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.07157, allocations: 4 kB / 0.5953 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.07175, allocations: 39.91 kB / 0.5953 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001121/0.07287, allocations: 274.9 kB / 0.5956 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.0729, allocations: 8 kB / 0.5956 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2094/0.2823, allocations: 7.882 MB / 0.6033 GB, free: 95.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2823, allocations: 3.375 kB / 0.6033 GB, free: 95.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.2835, allocations: 0.7815 MB / 0.6041 GB, free: 94.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.2838, allocations: 93 kB / 0.6041 GB, free: 94.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.2839, allocations: 16.72 kB / 0.6042 GB, free: 94.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.2841, allocations: 18.34 kB / 0.6042 GB, free: 94.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.2843, allocations: 49.61 kB / 0.6042 GB, free: 94.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.2843, allocations: 11.47 kB / 0.6042 GB, free: 94.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002667/0.2845, allocations: 343.8 kB / 0.6046 GB, free: 94.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.2845, allocations: 0 / 0.6046 GB, free: 94.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000741/0.2853, allocations: 197.5 kB / 0.6048 GB, free: 94.66 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.0001221/0.2854, allocations: 116.9 kB / 0.6049 GB, free: 94.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001399/0.2868, allocations: 1.2 MB / 0.606 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2868, allocations: 2.25 kB / 0.606 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009181/0.2877, allocations: 0.9686 MB / 0.607 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009277/0.2887, allocations: 202.1 kB / 0.6072 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.2902, allocations: 1.183 MB / 0.6083 GB, free: 92.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.2905, allocations: 383 kB / 0.6087 GB, free: 92.49 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002344/0.2908, allocations: 84.27 kB / 0.6088 GB, free: 92.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.2908, allocations: 33.78 kB / 0.6088 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.513e-06/0.2908, allocations: 0.7188 kB / 0.6088 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.01876/0.3096, allocations: 10.55 MB / 0.6191 GB, free: 91.72 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: 6.313517236965708]