Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.000851/0.000851, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009339/0.0009339, allocations: 169 kB / 23.27 MB, free: 1.223 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.9469/0.9469, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.002519/0.002519, allocations: 249.5 kB / 260.5 MB, free: 12.68 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.7128/0.7128, allocations: 138.4 MB / 455.5 MB, free: 30.04 MB / 410.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.5556 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.169e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004269/0.004291, allocations: 4.793 MB / 0.5603 GB, free: 11.08 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.006809, allocations: 1.711 MB / 0.5619 GB, free: 9.359 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003433/0.007152, allocations: 39.62 kB / 0.562 GB, free: 9.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005913/0.007743, allocations: 214.4 kB / 0.5622 GB, free: 9.109 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006562/0.008399, allocations: 445.1 kB / 0.5626 GB, free: 8.672 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006534/0.009053, allocations: 403.1 kB / 0.563 GB, free: 8.277 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.01009, allocations: 1.287 MB / 0.5643 GB, free: 6.988 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006777/0.01077, allocations: 0.5373 MB / 0.5648 GB, free: 6.445 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007641/0.01153, allocations: 0.6586 MB / 0.5654 GB, free: 5.785 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005666/0.0121, allocations: 0.4908 MB / 0.5659 GB, free: 5.293 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.779e-05/0.0122, allocations: 68 kB / 0.566 GB, free: 5.227 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.01248, allocations: 147.7 kB / 0.5661 GB, free: 5.082 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.0127, allocations: 327 kB / 0.5664 GB, free: 4.762 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.01294, allocations: 307.3 kB / 0.5667 GB, free: 4.461 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007297/0.01367, allocations: 0.7357 MB / 0.5674 GB, free: 3.723 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.01367, allocations: 4 kB / 0.5674 GB, free: 3.719 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01367, allocations: 4 kB / 0.5674 GB, free: 3.715 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.01369, allocations: 0 / 0.5674 GB, free: 3.715 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00115/0.01484, allocations: 1.18 MB / 0.5686 GB, free: 2.496 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.01488, allocations: 8.75 kB / 0.5686 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007546/0.01563, allocations: 295.8 kB / 0.5689 GB, free: 2.199 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005708/0.0162, allocations: 0.5367 MB / 0.5694 GB, free: 1.633 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.01623, allocations: 45.67 kB / 0.5694 GB, free: 1.586 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.01631, allocations: 76.31 kB / 0.5695 GB, free: 1.512 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.017, allocations: 1.025 MB / 0.5705 GB, free: 284 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.01702, allocations: 8.125 kB / 0.5705 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/0.01706, allocations: 32.36 kB / 0.5706 GB, free: 244 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.45e-05/0.01716, allocations: 89.19 kB / 0.5706 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.01749, allocations: 288.5 kB / 0.5709 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.02036, allocations: 5.581 MB / 0.5764 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.02074, allocations: 260.6 kB / 0.5766 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.02087, allocations: 117.1 kB / 0.5767 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.02089, allocations: 8.5 kB / 0.5767 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.02091, allocations: 41.89 kB / 0.5768 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 2.054e-06/0.02091, allocations: 0 / 0.5768 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001444/0.02236, allocations: 0.8928 MB / 0.5776 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.02238, allocations: 55.91 kB / 0.5777 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.02268, allocations: 0.541 MB / 0.5782 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.02271, allocations: 33.7 kB / 0.5783 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.0229, allocations: 478.5 kB / 0.5787 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.379e-05/0.02299, allocations: 186.4 kB / 0.5789 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.02312, allocations: 132.2 kB / 0.579 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.02326, allocations: 0.5468 MB / 0.5796 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.02336, allocations: 85.94 kB / 0.5796 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.02358, allocations: 405.4 kB / 0.58 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.02396, allocations: 0.5428 MB / 0.5806 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.02396, allocations: 4 kB / 0.5806 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007097/0.02467, allocations: 0.6747 MB / 0.5812 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.02469, allocations: 8.656 kB / 0.5812 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.0247, allocations: 8 kB / 0.5812 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006447/0.02535, allocations: 298.4 kB / 0.5815 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.02557, allocations: 111.8 kB / 0.5816 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/0.02891, allocations: 7.488 MB / 0.5889 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.02914, allocations: 20 kB / 0.589 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.02916, allocations: 20 kB / 0.589 GB, free: 12.32 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (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.0001559/0.02932, allocations: 196.4 kB / 0.5892 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.02939, allocations: 91.52 kB / 0.5893 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/0.02994, allocations: 0.4986 MB / 0.5897 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.02995, allocations: 4 kB / 0.5897 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.02995, allocations: 7.938 kB / 0.5897 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.02995, allocations: 0 / 0.5897 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.03098, allocations: 1.021 MB / 0.5907 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.03098, allocations: 0 / 0.5907 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.03109, allocations: 47.91 kB / 0.5908 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005806/0.03167, allocations: 286.6 kB / 0.5911 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.03169, allocations: 8 kB / 0.5911 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.03479, allocations: 7.473 MB / 0.5984 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.03479, allocations: 8.062 kB / 0.5984 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.0354, allocations: 0.6777 MB / 0.599 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.03552, allocations: 99.52 kB / 0.5991 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.03556, allocations: 8 kB / 0.5991 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.0357, allocations: 12 kB / 0.5992 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.03577, allocations: 51.8 kB / 0.5992 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.03579, allocations: 16 kB / 0.5992 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000165/0.03595, allocations: 326.6 kB / 0.5995 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.03595, allocations: 0 / 0.5995 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005038/0.03646, allocations: 224 kB / 0.5997 GB, free: 0.6445 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001133/0.03657, allocations: 115.2 kB / 0.5999 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008402/0.03741, allocations: 1.142 MB / 0.601 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.03741, allocations: 0 / 0.601 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005419/0.03795, allocations: 0.9426 MB / 0.6019 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.03849, allocations: 211.6 kB / 0.6021 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.03993, allocations: 1.259 MB / 0.6033 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.04008, allocations: 219.2 kB / 0.6035 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001934/0.04028, allocations: 69.58 kB / 0.6036 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.04056, allocations: 250 kB / 0.6038 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/0.04056, allocations: 0 / 0.6038 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of Templates: time 0.014/0.05456, allocations: 12.11 MB / 0.6157 GB, free: 368 kB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.707167590968311]