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.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.001617/0.001617, allocations: 114.9 kB / 17.13 MB, free: 6.027 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.001881/0.001881, allocations: 197.2 kB / 20.08 MB, free: 3.086 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.468/1.468, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.002388/0.002388, allocations: 277.3 kB / 303.6 MB, free: 3.746 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.246/1.246, allocations: 180.9 MB / 0.5268 GB, free: 2.672 MB / 382.1 MB " [Timeout remaining time 178] 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_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 0.002869/0.002869, allocations: 100.2 kB / 0.7259 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5841/0.587, allocations: 94.15 MB / 0.8179 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00773/0.5947, allocations: 6.244 MB / 0.824 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005347/0.6, allocations: 3.207 MB / 0.8271 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007883/0.6008, allocations: 36.78 kB / 0.8271 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.6032, allocations: 0.9428 MB / 0.8281 GB, free: 480 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.6049, allocations: 493.9 kB / 0.8285 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.6065, allocations: 499.6 kB / 0.829 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001787/0.6083, allocations: 1.106 MB / 0.8301 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009514/0.6093, allocations: 0.5141 MB / 0.8306 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008665/0.6101, allocations: 442.9 kB / 0.831 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008209/0.611, allocations: 0.4914 MB / 0.8315 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.243e-05/0.6111, allocations: 58.25 kB / 0.8315 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.6122, allocations: 0.4883 MB / 0.832 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003878/0.6126, allocations: 297 kB / 0.8323 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005393/0.6131, allocations: 403.5 kB / 0.8327 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.6151, allocations: 1.18 MB / 0.8338 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.6151, allocations: 3.188 kB / 0.8338 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6151, allocations: 0 / 0.8338 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.6151, allocations: 8.391 kB / 0.8339 GB, free: 13.89 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00215/0.6172, allocations: 1.08 MB / 0.8349 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.6173, allocations: 9.875 kB / 0.8349 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.6189, allocations: 229.6 kB / 0.8351 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.6201, allocations: 0.5986 MB / 0.8357 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.6201, allocations: 49.42 kB / 0.8358 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.6202, allocations: 69.25 kB / 0.8358 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.6219, allocations: 1.032 MB / 0.8368 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.622, allocations: 11.47 kB / 0.8369 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.637e-05/0.622, allocations: 29.45 kB / 0.8369 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.6222, allocations: 68.25 kB / 0.8369 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.6235, allocations: 0.695 MB / 0.8376 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007049/0.6305, allocations: 5.733 MB / 0.8432 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.6317, allocations: 0.55 MB / 0.8438 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009367/0.6326, allocations: 391.4 kB / 0.8441 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.6326, allocations: 8.531 kB / 0.8441 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.6327, allocations: 40.73 kB / 0.8442 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.835e-06/0.6327, allocations: 0 / 0.8442 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.005048/0.6377, allocations: 2.016 MB / 0.8461 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.6378, allocations: 55.39 kB / 0.8462 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007722/0.6385, allocations: 464.8 kB / 0.8466 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.6386, allocations: 32.17 kB / 0.8467 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.6389, allocations: 399.4 kB / 0.8471 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.6391, allocations: 155 kB / 0.8472 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.6393, allocations: 116.8 kB / 0.8473 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002275/0.6395, allocations: 364.6 kB / 0.8477 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.6399, allocations: 243.1 kB / 0.8479 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/0.6405, allocations: 451.8 kB / 0.8483 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.6417, allocations: 0.7509 MB / 0.8491 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6417, allocations: 2.719 kB / 0.8491 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002138/0.6439, allocations: 1.029 MB / 0.8501 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.6439, allocations: 8.234 kB / 0.8501 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.6439, allocations: 6.938 kB / 0.8501 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.645, allocations: 326.7 kB / 0.8504 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.6454, allocations: 102.1 kB / 0.8505 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008665/0.654, allocations: 7.478 MB / 0.8578 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006245/0.6547, allocations: 28.23 kB / 0.8578 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.6547, allocations: 26.27 kB / 0.8578 GB, free: 12.13 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 (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.0004559/0.6552, allocations: 244.4 kB / 0.8581 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.6553, allocations: 65.41 kB / 0.8581 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.6572, allocations: 0.8811 MB / 0.859 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.6572, allocations: 3.844 kB / 0.859 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.6572, allocations: 5.297 kB / 0.859 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.6572, allocations: 2.156 kB / 0.859 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/0.6604, allocations: 1.672 MB / 0.8606 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.6604, allocations: 2.188 kB / 0.8606 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.6606, allocations: 37.34 kB / 0.8607 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009896/0.6616, allocations: 315.3 kB / 0.861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.6616, allocations: 7.531 kB / 0.861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008184/0.6698, allocations: 7.464 MB / 0.8683 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.6698, allocations: 10.06 kB / 0.8683 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.6717, allocations: 0.9828 MB / 0.8692 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.672, allocations: 181.8 kB / 0.8694 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.6721, allocations: 16 kB / 0.8694 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.6724, allocations: 21.16 kB / 0.8695 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.6725, allocations: 45.61 kB / 0.8695 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.6725, allocations: 12.47 kB / 0.8695 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004152/0.6729, allocations: 312.6 kB / 0.8698 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.6729, allocations: 0 / 0.8698 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009621/0.6739, allocations: 194 kB / 0.87 GB, free: 2.352 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 (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.0002148/0.6741, allocations: 115.2 kB / 0.8701 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002118/0.6762, allocations: 1.15 MB / 0.8712 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.6762, allocations: 4.125 kB / 0.8712 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.6776, allocations: 0.8282 MB / 0.872 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.6787, allocations: 205.1 kB / 0.8722 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.6812, allocations: 1.322 MB / 0.8735 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007678/0.6819, allocations: 0.9927 MB / 0.8745 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.682, allocations: 37.62 kB / 0.8745 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.682, allocations: 3.938 kB / 0.8745 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of Templates: time 0.0271/0.7091, allocations: 18.72 MB / 0.8928 GB, free: 1.855 MB / 0.6231 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.294308356009424] Failed to read output from testmodel.py, exit status != 0: 0.717583617893979 0.730766675 0.112694847 Calling exit ...