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.002373/0.002373, allocations: 88.05 kB / 19.44 MB, free: 320 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.003047/0.003047, allocations: 173.3 kB / 22.77 MB, free: 1.641 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.614/1.614, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.004568/0.004568, allocations: 241.1 kB / 259.8 MB, free: 12.86 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.183/1.183, allocations: 138.4 MB / 454.7 MB, free: 1.5 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_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.733e-06/1.733e-06, allocations: 0 / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.975e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01098/0.01101, allocations: 6.852 MB / 0.561 GB, free: 9.988 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006392/0.01741, allocations: 3.137 MB / 0.5641 GB, free: 6.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000671/0.01808, allocations: 39.69 kB / 0.5641 GB, free: 6.801 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003015/0.02109, allocations: 0.9763 MB / 0.5651 GB, free: 5.82 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.02263, allocations: 0.5357 MB / 0.5656 GB, free: 5.281 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.02379, allocations: 446.8 kB / 0.566 GB, free: 4.844 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.02543, allocations: 1.275 MB / 0.5673 GB, free: 3.562 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008787/0.02631, allocations: 0.5295 MB / 0.5678 GB, free: 3.027 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.02742, allocations: 0.6624 MB / 0.5684 GB, free: 2.363 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007838/0.0282, allocations: 490.6 kB / 0.5689 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.02832, allocations: 68 kB / 0.569 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007376/0.02906, allocations: 351.1 kB / 0.5693 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003904/0.02945, allocations: 335.1 kB / 0.5696 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.02987, allocations: 311.3 kB / 0.5699 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.03159, allocations: 1.262 MB / 0.5712 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.03159, allocations: 0 / 0.5712 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.293e-06/0.0316, allocations: 0 / 0.5712 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.03161, allocations: 0 / 0.5712 GB, free: 15.57 MB / 0.4948 GB 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.002145/0.03375, allocations: 1.266 MB / 0.5724 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.03379, allocations: 12.73 kB / 0.5724 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.03546, allocations: 347.7 kB / 0.5727 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.03658, allocations: 0.5576 MB / 0.5733 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/0.03663, allocations: 45.67 kB / 0.5733 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.03675, allocations: 64.38 kB / 0.5734 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.03842, allocations: 1.162 MB / 0.5745 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.03845, allocations: 8.125 kB / 0.5745 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.6e-05/0.03853, allocations: 40.34 kB / 0.5746 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/0.0387, allocations: 81.2 kB / 0.5746 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.03971, allocations: 424.6 kB / 0.575 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006428/0.04613, allocations: 5.897 MB / 0.5808 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008201/0.04695, allocations: 314.7 kB / 0.5811 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.04727, allocations: 149.1 kB / 0.5812 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.04732, allocations: 16.44 kB / 0.5813 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.04736, allocations: 41.89 kB / 0.5813 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 1.783e-06/0.04736, allocations: 3.938 kB / 0.5813 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.003563/0.05092, allocations: 1.15 MB / 0.5824 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.05098, allocations: 55.91 kB / 0.5825 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007731/0.05176, allocations: 0.639 MB / 0.5831 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.0518, allocations: 37.7 kB / 0.5831 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.05221, allocations: 490.6 kB / 0.5836 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.0524, allocations: 186.5 kB / 0.5838 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.05264, allocations: 144.2 kB / 0.5839 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003599/0.053, allocations: 0.5704 MB / 0.5845 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.05331, allocations: 141.9 kB / 0.5846 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.05393, allocations: 472.7 kB / 0.5851 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009953/0.05493, allocations: 0.6522 MB / 0.5857 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.759e-06/0.05494, allocations: 7.984 kB / 0.5857 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001713/0.05665, allocations: 0.8152 MB / 0.5865 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.05667, allocations: 8.875 kB / 0.5865 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.05668, allocations: 4 kB / 0.5865 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.05817, allocations: 334.4 kB / 0.5868 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.05868, allocations: 135.7 kB / 0.587 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007968/0.06664, allocations: 7.786 MB / 0.5946 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000744/0.06739, allocations: 39.95 kB / 0.5946 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/0.06745, allocations: 31.94 kB / 0.5946 GB, free: 6.137 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.0004429/0.06789, allocations: 224.3 kB / 0.5949 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.06806, allocations: 87.61 kB / 0.5949 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.06961, allocations: 0.5845 MB / 0.5955 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.06962, allocations: 4 kB / 0.5955 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.06964, allocations: 4 kB / 0.5955 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.06965, allocations: 8.016 kB / 0.5955 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.07267, allocations: 1.31 MB / 0.5968 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.07268, allocations: 0 / 0.5968 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.07298, allocations: 63.89 kB / 0.5969 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.07436, allocations: 314.6 kB / 0.5972 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.0744, allocations: 12.06 kB / 0.5972 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1941/0.2685, allocations: 7.769 MB / 0.6048 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2685, allocations: 6.5 kB / 0.6048 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.2697, allocations: 0.7818 MB / 0.6055 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.27, allocations: 110.6 kB / 0.6056 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.27, allocations: 14.69 kB / 0.6057 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.2704, allocations: 26.88 kB / 0.6057 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.2705, allocations: 49.17 kB / 0.6057 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.2705, allocations: 14.88 kB / 0.6057 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003625/0.2709, allocations: 411.4 kB / 0.6061 GB, free: 93.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2709, allocations: 0 / 0.6061 GB, free: 93.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007643/0.2717, allocations: 224.2 kB / 0.6063 GB, free: 93.24 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.0001235/0.2718, allocations: 111.6 kB / 0.6065 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.2733, allocations: 1.263 MB / 0.6077 GB, free: 92.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2733, allocations: 0.8125 kB / 0.6077 GB, free: 92.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009718/0.2743, allocations: 0.9941 MB / 0.6087 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/0.2752, allocations: 209.3 kB / 0.6089 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.2769, allocations: 1.275 MB / 0.6101 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.2773, allocations: 407.7 kB / 0.6105 GB, free: 91.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003129/0.2776, allocations: 96.95 kB / 0.6106 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.2777, allocations: 40.55 kB / 0.6106 GB, free: 91 MB / 0.5105 GB Notification: Performance of SimCode: time 7.21e-07/0.2777, allocations: 0.5 kB / 0.6106 GB, free: 91 MB / 0.5105 GB Notification: Performance of Templates: time 0.02053/0.2982, allocations: 11.47 MB / 0.6218 GB, free: 90.08 MB / 0.5105 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: 6.488514713011682]