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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 117.9 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002513/0.002513, allocations: 280.3 kB / 303.6 MB, free: 3.695 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 180.9 MB / 0.5268 GB, free: 2.727 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002752/0.002752, allocations: 99.84 kB / 0.7259 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6351/0.6379, allocations: 94.16 MB / 0.8179 GB, free: 7.438 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007876/0.6457, allocations: 6.883 MB / 0.8246 GB, free: 2.762 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.004836/0.6506, allocations: 3.108 MB / 0.8276 GB, free: 0.6602 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007278/0.6513, allocations: 27.5 kB / 0.8277 GB, free: 0.6484 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.6536, allocations: 0.9715 MB / 0.8286 GB, free: 64 kB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.6552, allocations: 0.5146 MB / 0.8291 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.6567, allocations: 451.3 kB / 0.8295 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001803/0.6585, allocations: 1.23 MB / 0.8307 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000972/0.6595, allocations: 0.5315 MB / 0.8313 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008981/0.6604, allocations: 481 kB / 0.8317 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008174/0.6612, allocations: 0.5485 MB / 0.8322 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.591e-05/0.6613, allocations: 68.75 kB / 0.8323 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00085/0.6621, allocations: 384 kB / 0.8327 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/0.6625, allocations: 323.4 kB / 0.833 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004928/0.663, allocations: 446.9 kB / 0.8334 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.6647, allocations: 1.228 MB / 0.8346 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6647, allocations: 0 / 0.8346 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6647, allocations: 3.406 kB / 0.8346 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.143e-05/0.6648, allocations: 0 / 0.8346 GB, free: 13.38 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.002263/0.667, allocations: 1.198 MB / 0.8358 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.6671, allocations: 12.62 kB / 0.8358 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.6686, allocations: 241.5 kB / 0.836 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.6697, allocations: 0.6127 MB / 0.8366 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.6697, allocations: 47.42 kB / 0.8367 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.6698, allocations: 63.89 kB / 0.8367 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.6716, allocations: 1.083 MB / 0.8378 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.6717, allocations: 15.62 kB / 0.8378 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.6717, allocations: 33.39 kB / 0.8378 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001731/0.6719, allocations: 84.03 kB / 0.8379 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.6733, allocations: 0.7497 MB / 0.8387 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007363/0.6807, allocations: 5.882 MB / 0.8444 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.6818, allocations: 0.5211 MB / 0.8449 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004766/0.6823, allocations: 286.2 kB / 0.8452 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.6823, allocations: 10.69 kB / 0.8452 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.6824, allocations: 37.09 kB / 0.8452 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.914e-06/0.6824, allocations: 1.375 kB / 0.8452 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.004327/0.6867, allocations: 1.988 MB / 0.8472 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.6867, allocations: 57.44 kB / 0.8472 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.6875, allocations: 0.5637 MB / 0.8478 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.6876, allocations: 32.64 kB / 0.8478 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.688, allocations: 431.9 kB / 0.8482 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.6882, allocations: 181.2 kB / 0.8484 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.6884, allocations: 127 kB / 0.8485 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.6886, allocations: 378.8 kB / 0.8489 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.689, allocations: 276.2 kB / 0.8491 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.6897, allocations: 493.7 kB / 0.8496 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.6909, allocations: 0.8111 MB / 0.8504 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6909, allocations: 1.312 kB / 0.8504 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002044/0.6929, allocations: 1.083 MB / 0.8515 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.6929, allocations: 8.688 kB / 0.8515 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.693, allocations: 6.359 kB / 0.8515 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008834/0.6938, allocations: 273.6 kB / 0.8517 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.6943, allocations: 125.5 kB / 0.8518 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007646/0.702, allocations: 7.144 MB / 0.8588 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.7028, allocations: 36.16 kB / 0.8589 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.396e-05/0.7028, allocations: 32.34 kB / 0.8589 GB, free: 11.61 MB / 0.6075 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.0004996/0.7033, allocations: 259 kB / 0.8591 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.7035, allocations: 76.69 kB / 0.8592 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.7052, allocations: 0.8792 MB / 0.8601 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.7052, allocations: 12.97 kB / 0.8601 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7052, allocations: 4.906 kB / 0.8601 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.7052, allocations: 3.984 kB / 0.8601 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/0.7083, allocations: 1.714 MB / 0.8618 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.7083, allocations: 5.094 kB / 0.8618 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.7086, allocations: 64.52 kB / 0.8618 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007544/0.7093, allocations: 260.5 kB / 0.8621 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.7094, allocations: 11.91 kB / 0.8621 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007397/0.7168, allocations: 7.125 MB / 0.869 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7168, allocations: 1.625 kB / 0.869 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.7186, allocations: 0.9825 MB / 0.87 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/0.7191, allocations: 194.5 kB / 0.8702 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.7192, allocations: 19.52 kB / 0.8702 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.7196, allocations: 25.22 kB / 0.8702 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.7197, allocations: 39.64 kB / 0.8703 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.7198, allocations: 14.03 kB / 0.8703 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005567/0.7203, allocations: 396.2 kB / 0.8707 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.7203, allocations: 0 / 0.8707 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009202/0.7212, allocations: 225.2 kB / 0.8709 GB, free: 1.848 MB / 0.6075 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.0001848/0.7214, allocations: 110 kB / 0.871 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002269/0.7237, allocations: 1.24 MB / 0.8722 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.7237, allocations: 0 / 0.8722 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.7251, allocations: 0.8669 MB / 0.873 GB, free: 212 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.7261, allocations: 216.2 kB / 0.8732 GB, free: 96 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.7291, allocations: 1.423 MB / 0.8746 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008867/0.73, allocations: 1.017 MB / 0.8756 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.7302, allocations: 48.64 kB / 0.8757 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of SimCode: time 7.92e-07/0.7302, allocations: 1.375 kB / 0.8757 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of Templates: time 0.03478/0.765, allocations: 20.96 MB / 0.8961 GB, free: 14.51 MB / 0.6388 GB " [Timeout remaining time 659] 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: 11.607967356219888] Failed to read output from testmodel.py, exit status != 0: 0.7741326540708542 0.788919744 0.12112499400000001 Calling exit ...