Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001418/0.001418, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001001/0.001001, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9335/0.9335, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.001904/0.001904, allocations: 225.9 kB / 260.5 MB, free: 12.89 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.7137/0.7137, allocations: 138.4 MB / 455.4 MB, free: 1.512 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.555 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.852e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03474/0.03477, allocations: 38.51 MB / 0.5927 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.2116/0.2464, allocations: 11.25 MB / 0.6036 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003124/0.2495, allocations: 202.9 kB / 0.6038 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.005666/0.2552, allocations: 4.503 MB / 0.6082 GB, free: 67.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004451/0.2596, allocations: 2.401 MB / 0.6106 GB, free: 66.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.2631, allocations: 2.195 MB / 0.6127 GB, free: 66.92 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.008778/0.2719, allocations: 9.466 MB / 0.622 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008739/0.2806, allocations: 6.373 MB / 0.6282 GB, free: 62.46 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008497/0.2891, allocations: 5.828 MB / 0.6339 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005685/0.2948, allocations: 4.485 MB / 0.6383 GB, free: 59.03 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001915/0.2967, allocations: 0.8228 MB / 0.6391 GB, free: 59.03 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.2994, allocations: 1.52 MB / 0.6406 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002775/0.3022, allocations: 3.42 MB / 0.6439 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003965/0.3062, allocations: 2.601 MB / 0.6464 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.008242/0.3144, allocations: 6.739 MB / 0.653 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3144, allocations: 0 / 0.653 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3144, allocations: 0.7188 kB / 0.653 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000324/0.3147, allocations: 3.938 kB / 0.653 GB, free: 52.63 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.008039/0.3228, allocations: 6.697 MB / 0.6596 GB, free: 47.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3228, allocations: 12.73 kB / 0.6596 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/0.3265, allocations: 1.705 MB / 0.6612 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/0.3304, allocations: 3.498 MB / 0.6647 GB, free: 42.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.3306, allocations: 427.2 kB / 0.6651 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005171/0.3311, allocations: 0.556 MB / 0.6656 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007374/0.3384, allocations: 6.271 MB / 0.6717 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.3386, allocations: 20.72 kB / 0.6717 GB, free: 34.72 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/0.339, allocations: 250.5 kB / 0.672 GB, free: 34.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004027/0.3394, allocations: 422.9 kB / 0.6724 GB, free: 34.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004315/0.3437, allocations: 2.147 MB / 0.6745 GB, free: 32 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01922/0.3629, allocations: 28.16 MB / 0.702 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.3647, allocations: 1.42 MB / 0.7034 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.3658, allocations: 0.9339 MB / 0.7043 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-05/0.3659, allocations: 37.98 kB / 0.7043 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.3659, allocations: 64.45 kB / 0.7044 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=209): time 5.2e-06/0.3659, allocations: 4 kB / 0.7044 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of matching and sorting (n=212): time 0.0128/0.3787, allocations: 6.43 MB / 0.7107 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.3788, allocations: 73.41 kB / 0.7107 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.3803, allocations: 1.688 MB / 0.7124 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.3805, allocations: 65.7 kB / 0.7124 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.3817, allocations: 2.531 MB / 0.7149 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005078/0.3822, allocations: 0.779 MB / 0.7157 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000499/0.3827, allocations: 492 kB / 0.7161 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3828, allocations: 480.7 kB / 0.7166 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007869/0.3836, allocations: 469 kB / 0.7171 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.3848, allocations: 1.493 MB / 0.7185 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.3871, allocations: 2.153 MB / 0.7206 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.3871, allocations: 8 kB / 0.7206 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.004099/0.3912, allocations: 2.869 MB / 0.7234 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.3912, allocations: 16 kB / 0.7234 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.3912, allocations: 20 kB / 0.7235 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/0.3938, allocations: 1.221 MB / 0.7246 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009839/0.3948, allocations: 455.2 kB / 0.7251 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.4055, allocations: 12.42 MB / 0.7372 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.4069, allocations: 147.9 kB / 0.7374 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.407, allocations: 108 kB / 0.7375 GB, free: 13.76 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001171/0.4082, allocations: 323.8 kB / 0.7378 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003664/0.4086, allocations: 346.3 kB / 0.7381 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/0.4117, allocations: 2.245 MB / 0.7403 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.4117, allocations: 20 kB / 0.7403 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.4117, allocations: 16 kB / 0.7403 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.4117, allocations: 7.969 kB / 0.7403 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008271/0.42, allocations: 6.18 MB / 0.7464 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.42, allocations: 4 kB / 0.7464 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.4206, allocations: 239.6 kB / 0.7466 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002387/0.423, allocations: 1.063 MB / 0.7476 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.4231, allocations: 40 kB / 0.7477 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/0.4333, allocations: 12.35 MB / 0.7597 GB, free: 6.309 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4333, allocations: 7.938 kB / 0.7597 GB, free: 6.301 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/0.4367, allocations: 2.53 MB / 0.7622 GB, free: 3.66 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007488/0.4375, allocations: 0.5176 MB / 0.7627 GB, free: 3.141 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.4377, allocations: 36 kB / 0.7628 GB, free: 3.105 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006398/0.4383, allocations: 119.9 kB / 0.7629 GB, free: 2.988 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003454/0.4387, allocations: 193.6 kB / 0.7631 GB, free: 2.797 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.572e-05/0.4387, allocations: 59.31 kB / 0.7631 GB, free: 2.742 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000879/0.4396, allocations: 0.9535 MB / 0.764 GB, free: 1.773 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.4396, allocations: 4 kB / 0.764 GB, free: 1.77 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002325/0.4419, allocations: 1.148 MB / 0.7652 GB, free: 0.6211 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002348/0.4422, allocations: 159 kB / 0.7653 GB, free: 464 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003585/0.4458, allocations: 3.135 MB / 0.7684 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4458, allocations: 0 / 0.7684 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/0.448, allocations: 2.279 MB / 0.7706 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.4499, allocations: 0.824 MB / 0.7714 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.461, allocations: 8.429 MB / 0.7796 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.4623, allocations: 1.397 MB / 0.781 GB, free: 128 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001339/0.4637, allocations: 467.1 kB / 0.7814 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.464, allocations: 140.5 kB / 0.7816 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of SimCode: time 1.743e-06/0.464, allocations: 0 / 0.7816 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.06103/0.525, allocations: 52.57 MB / 0.8329 GB, free: 12.05 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.116323750000447]