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.001436/0.001436, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.00157/0.00157, allocations: 220 kB / 23 MB, free: 4.914 MB / 14.72 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.836 MB / 206.1 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.002597/0.002597, allocations: 292.6 kB / 313.5 MB, free: 2.73 MB / 238.1 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.28/1.28, allocations: 180.6 MB / 0.5377 GB, free: 14.48 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00298/0.00298, allocations: 101.1 kB / 0.7407 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1897, allocations: 95.38 MB / 0.8339 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01053/0.2002, allocations: 6.55 MB / 0.8403 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00618/0.2064, allocations: 3.067 MB / 0.8433 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006949/0.2071, allocations: 39.62 kB / 0.8433 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.21, allocations: 0.9514 MB / 0.8442 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.2116, allocations: 0.5168 MB / 0.8447 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.2128, allocations: 454.7 kB / 0.8452 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001826/0.2146, allocations: 1.229 MB / 0.8464 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.2157, allocations: 0.5295 MB / 0.8469 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.2168, allocations: 0.4943 MB / 0.8474 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.2179, allocations: 0.5136 MB / 0.8479 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.218, allocations: 68 kB / 0.8479 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007652/0.2188, allocations: 343.3 kB / 0.8483 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003514/0.2191, allocations: 315.1 kB / 0.8486 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000431/0.2196, allocations: 378.2 kB / 0.8489 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.2211, allocations: 1.233 MB / 0.8501 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2211, allocations: 0 / 0.8501 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2211, allocations: 0 / 0.8501 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.2211, allocations: 0 / 0.8501 GB, free: 7.148 MB / 0.5919 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.002052/0.2232, allocations: 1.119 MB / 0.8512 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2232, allocations: 8.75 kB / 0.8512 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.2248, allocations: 248.1 kB / 0.8515 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.2259, allocations: 0.5437 MB / 0.852 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.2259, allocations: 45.67 kB / 0.852 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.2261, allocations: 68.36 kB / 0.8521 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.2279, allocations: 1.34 MB / 0.8534 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.2279, allocations: 3.938 kB / 0.8534 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.228, allocations: 35.98 kB / 0.8535 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.2282, allocations: 85.27 kB / 0.8535 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.2294, allocations: 0.7504 MB / 0.8543 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005732/0.2352, allocations: 4.519 MB / 0.8587 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.2364, allocations: 0.5124 MB / 0.8592 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/0.2368, allocations: 282 kB / 0.8594 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.2369, allocations: 8.438 kB / 0.8595 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2369, allocations: 35 kB / 0.8595 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.345e-06/0.2369, allocations: 0 / 0.8595 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.004037/0.2409, allocations: 1.679 MB / 0.8611 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.241, allocations: 67.72 kB / 0.8612 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006425/0.2416, allocations: 0.5184 MB / 0.8617 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.2417, allocations: 33.7 kB / 0.8617 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.242, allocations: 435.8 kB / 0.8621 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.2422, allocations: 174.5 kB / 0.8623 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.2424, allocations: 130.6 kB / 0.8624 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002168/0.2426, allocations: 370.7 kB / 0.8628 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/0.2432, allocations: 281.8 kB / 0.8631 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006811/0.2439, allocations: 496.9 kB / 0.8635 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.245, allocations: 0.8084 MB / 0.8643 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.245, allocations: 4 kB / 0.8643 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002161/0.2472, allocations: 1.066 MB / 0.8654 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.2472, allocations: 16.09 kB / 0.8654 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.2472, allocations: 4 kB / 0.8654 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008811/0.2481, allocations: 283.1 kB / 0.8657 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.2486, allocations: 123.8 kB / 0.8658 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007859/0.2565, allocations: 6.598 MB / 0.8722 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006592/0.2572, allocations: 39.97 kB / 0.8723 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.2572, allocations: 24 kB / 0.8723 GB, free: 15.34 MB / 0.6231 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.0003902/0.2576, allocations: 258.3 kB / 0.8725 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.2577, allocations: 67.58 kB / 0.8726 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.2594, allocations: 0.8725 MB / 0.8734 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.2594, allocations: 8.031 kB / 0.8735 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2594, allocations: 4 kB / 0.8735 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.2594, allocations: 3.984 kB / 0.8735 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.2622, allocations: 1.525 MB / 0.8749 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.2622, allocations: 8 kB / 0.875 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.2624, allocations: 63.89 kB / 0.875 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007861/0.2632, allocations: 263.4 kB / 0.8753 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.2633, allocations: 15.94 kB / 0.8753 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007534/0.2708, allocations: 6.588 MB / 0.8817 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2708, allocations: 0 / 0.8817 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.2725, allocations: 0.9839 MB / 0.8827 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.2729, allocations: 107.5 kB / 0.8828 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/0.273, allocations: 19.94 kB / 0.8828 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.2733, allocations: 27.97 kB / 0.8828 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.2734, allocations: 47.84 kB / 0.8829 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.2735, allocations: 12 kB / 0.8829 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004937/0.274, allocations: 346.8 kB / 0.8832 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.274, allocations: 4 kB / 0.8832 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008308/0.2748, allocations: 224 kB / 0.8834 GB, free: 3.359 MB / 0.6231 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.0001655/0.275, allocations: 111.2 kB / 0.8835 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002104/0.2771, allocations: 1.224 MB / 0.8847 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2771, allocations: 0 / 0.8847 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.2784, allocations: 0.8697 MB / 0.8856 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009628/0.2793, allocations: 206.2 kB / 0.8858 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.2819, allocations: 1.444 MB / 0.8872 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.2824, allocations: 416.6 kB / 0.8876 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.2825, allocations: 51.42 kB / 0.8876 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.2825, allocations: 0 / 0.8876 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of Templates: time 0.03081/0.3133, allocations: 20.91 MB / 0.9081 GB, free: 9.996 MB / 0.6544 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.888350282795727] Failed to read output from testmodel.py, exit status != 0: 0.321602039039135 0.33692890200000003 0.11259908 Calling exit ...