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.0009104/0.0009104, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001012/0.001012, allocations: 177 kB / 23.36 MB, free: 1.129 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.8933/0.8933, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.002718/0.002718, allocations: 245.8 kB / 260.5 MB, free: 12.69 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.7404/0.7404, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.603e-06/1.603e-06, allocations: 0.5156 kB / 462.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.91e-05, allocations: 4.172 kB / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.004007/0.004026, allocations: 4.141 MB / 466.5 MB, free: 14.27 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.006505, allocations: 1.593 MB / 468.1 MB, free: 12.93 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.006806, allocations: 48.25 kB / 468.1 MB, free: 12.88 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.007307, allocations: 187.6 kB / 468.3 MB, free: 12.7 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006134/0.00792, allocations: 424.6 kB / 468.7 MB, free: 12.29 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.008504, allocations: 374.7 kB / 469.1 MB, free: 11.92 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009198/0.009424, allocations: 1.139 MB / 470.2 MB, free: 10.78 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005901/0.01001, allocations: 0.5551 MB / 470.8 MB, free: 10.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005896/0.0106, allocations: 0.6125 MB / 471.4 MB, free: 9.613 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004513/0.01105, allocations: 438.8 kB / 471.8 MB, free: 9.188 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.676e-05/0.01112, allocations: 56 kB / 471.9 MB, free: 9.133 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.01133, allocations: 133.4 kB / 472 MB, free: 9.004 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.01151, allocations: 303.2 kB / 472.3 MB, free: 8.707 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.0117, allocations: 275.3 kB / 472.5 MB, free: 8.438 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.01221, allocations: 0.6656 MB / 473.2 MB, free: 7.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.01221, allocations: 0 / 473.2 MB, free: 7.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.01222, allocations: 6.031 kB / 473.2 MB, free: 7.766 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.01223, allocations: 0 / 473.2 MB, free: 7.766 MB / 426.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.0008517/0.01308, allocations: 0.9191 MB / 474.1 MB, free: 6.828 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.01311, allocations: 9.344 kB / 474.1 MB, free: 6.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007122/0.01382, allocations: 265.2 kB / 474.4 MB, free: 6.562 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/0.01437, allocations: 0.5128 MB / 474.9 MB, free: 6.035 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.01439, allocations: 45.67 kB / 475 MB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-05/0.01446, allocations: 68.36 kB / 475 MB, free: 5.926 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.01505, allocations: 0.7738 MB / 475.8 MB, free: 5.016 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.01507, allocations: 12.08 kB / 475.8 MB, free: 5.004 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.01511, allocations: 29.77 kB / 475.8 MB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.076e-05/0.01517, allocations: 73.2 kB / 475.9 MB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.01544, allocations: 253.4 kB / 476.2 MB, free: 4.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.01771, allocations: 3.875 MB / 480 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.01801, allocations: 246.8 kB / 480.3 MB, free: 408 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.01831, allocations: 223.5 kB / 480.5 MB, free: 188 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.01833, allocations: 5.656 kB / 480.5 MB, free: 184 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.01835, allocations: 39.69 kB / 480.5 MB, free: 136 kB / 426.7 MB Notification: Performance of pre-optimization done (n=41): time 2.164e-06/0.01835, allocations: 0.9062 kB / 480.5 MB, free: 136 kB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.001579/0.01993, allocations: 0.8765 MB / 481.4 MB, free: 15.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.01996, allocations: 55.41 kB / 481.5 MB, free: 15.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.02018, allocations: 419.9 kB / 481.9 MB, free: 14.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.02021, allocations: 33.7 kB / 481.9 MB, free: 14.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.02034, allocations: 358.2 kB / 482.3 MB, free: 14.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.02042, allocations: 162.6 kB / 482.4 MB, free: 14.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.692e-05/0.02052, allocations: 106.2 kB / 482.5 MB, free: 14.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.02061, allocations: 366.6 kB / 482.9 MB, free: 13.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.02069, allocations: 70.09 kB / 483 MB, free: 13.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.02085, allocations: 277.8 kB / 483.2 MB, free: 13.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.02115, allocations: 425.4 kB / 483.6 MB, free: 12.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02115, allocations: 0.7812 kB / 483.6 MB, free: 12.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006493/0.0218, allocations: 0.562 MB / 484.2 MB, free: 12.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.02182, allocations: 8.969 kB / 484.2 MB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.02183, allocations: 8.797 kB / 484.2 MB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004988/0.02233, allocations: 245.6 kB / 484.5 MB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.0225, allocations: 88.95 kB / 484.6 MB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/0.02537, allocations: 5.403 MB / 490 MB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.02552, allocations: 16 kB / 490 MB, free: 6.098 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.02555, allocations: 20.5 kB / 490 MB, free: 6.078 MB / 442.7 MB 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.0001217/0.02567, allocations: 156.4 kB / 490.1 MB, free: 5.914 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.02572, allocations: 51.95 kB / 490.2 MB, free: 5.863 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.02629, allocations: 470.5 kB / 490.7 MB, free: 5.383 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.02629, allocations: 4 kB / 490.7 MB, free: 5.379 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.0263, allocations: 4.938 kB / 490.7 MB, free: 5.375 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.0263, allocations: 4.984 kB / 490.7 MB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009334/0.02724, allocations: 0.882 MB / 491.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.02724, allocations: 4.719 kB / 491.6 MB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.296e-05/0.02731, allocations: 31.92 kB / 491.6 MB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/0.02777, allocations: 240.6 kB / 491.8 MB, free: 4.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.02779, allocations: 12 kB / 491.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.03055, allocations: 5.398 MB / 497.2 MB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.03055, allocations: 0.8125 kB / 497.2 MB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005689/0.03112, allocations: 0.5903 MB / 497.8 MB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.03121, allocations: 80.7 kB / 497.9 MB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.03125, allocations: 12.53 kB / 497.9 MB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.03136, allocations: 4 kB / 497.9 MB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.03144, allocations: 52.7 kB / 498 MB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.03145, allocations: 8 kB / 498 MB, free: 13.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.03156, allocations: 173.8 kB / 498.1 MB, free: 13.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03156, allocations: 0 / 498.1 MB, free: 13.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004319/0.03199, allocations: 200 kB / 498.3 MB, free: 13.23 MB / 458.7 MB 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.000104/0.03209, allocations: 94.36 kB / 498.4 MB, free: 13.13 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007398/0.03283, allocations: 0.867 MB / 499.3 MB, free: 12.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.03285, allocations: 8.5 kB / 499.3 MB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004975/0.03334, allocations: 0.6949 MB / 0.4883 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.03381, allocations: 190.6 kB / 0.4885 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.03506, allocations: 1.18 MB / 0.4896 GB, free: 10.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.03521, allocations: 202.3 kB / 0.4898 GB, free: 9.863 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.03535, allocations: 61.09 kB / 0.4899 GB, free: 9.812 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.03556, allocations: 165.3 kB / 0.49 GB, free: 9.648 MB / 458.7 MB Notification: Performance of SimCode: time 7.22e-07/0.03556, allocations: 0 / 0.49 GB, free: 9.648 MB / 458.7 MB Notification: Performance of Templates: time 0.01267/0.04823, allocations: 11.13 MB / 0.5009 GB, free: 14.99 MB / 474.7 MB " [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.634962373878807]