Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001627/0.001627, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.001841/0.001841, allocations: 197.2 kB / 20.08 MB, free: 3 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.51/1.51, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.002551/0.002551, allocations: 279.6 kB / 303.6 MB, free: 3.684 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.098/1.098, allocations: 180.9 MB / 0.5268 GB, free: 3.074 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003002/0.003002, allocations: 99.83 kB / 0.7259 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.5797, allocations: 94.16 MB / 0.8179 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01572/0.5954, allocations: 14.23 MB / 0.8318 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01646/0.6119, allocations: 9.5 MB / 0.841 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.6138, allocations: 60.38 kB / 0.8411 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004926/0.6187, allocations: 1.689 MB / 0.8428 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005735/0.6244, allocations: 1.576 MB / 0.8443 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.6271, allocations: 0.7547 MB / 0.845 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005205/0.6323, allocations: 2.525 MB / 0.8475 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/0.6344, allocations: 1.129 MB / 0.8486 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/0.6368, allocations: 1.073 MB / 0.8496 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.6393, allocations: 1.209 MB / 0.8508 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003538/0.6397, allocations: 165.7 kB / 0.851 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.6417, allocations: 0.8071 MB / 0.8518 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008323/0.6425, allocations: 0.6284 MB / 0.8524 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.6439, allocations: 0.9453 MB / 0.8533 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004491/0.6484, allocations: 2.764 MB / 0.856 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.6484, allocations: 7.938 kB / 0.856 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6484, allocations: 0 / 0.856 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.014e-05/0.6485, allocations: 1.312 kB / 0.856 GB, free: 15.72 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00524/0.6537, allocations: 2.191 MB / 0.8582 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.6537, allocations: 9.094 kB / 0.8582 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.6652, allocations: 2.091 MB / 0.8602 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/0.6691, allocations: 1.303 MB / 0.8615 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.6692, allocations: 94.73 kB / 0.8616 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005313/0.6697, allocations: 124.9 kB / 0.8617 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006481/0.6762, allocations: 2.676 MB / 0.8643 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.6762, allocations: 11.77 kB / 0.8643 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.6764, allocations: 54.8 kB / 0.8644 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006276/0.677, allocations: 182.3 kB / 0.8645 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007838/0.6849, allocations: 2.798 MB / 0.8673 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/0.7053, allocations: 10.48 MB / 0.8775 GB, free: 64 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007112/0.7124, allocations: 2.451 MB / 0.8799 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003288/0.7157, allocations: 1.202 MB / 0.8811 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-05/0.7158, allocations: 9.469 kB / 0.8811 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.7158, allocations: 47.38 kB / 0.8811 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=89): time 2.685e-06/0.7158, allocations: 0 / 0.8811 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=131): time 0.04833/0.7641, allocations: 13.34 MB / 0.8942 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.7642, allocations: 68.72 kB / 0.8942 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.7662, allocations: 1.121 MB / 0.8953 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.7664, allocations: 45.7 kB / 0.8954 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007074/0.7671, allocations: 0.7288 MB / 0.8961 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006632/0.7678, allocations: 479.8 kB / 0.8965 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005941/0.7684, allocations: 259.5 kB / 0.8968 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.7686, allocations: 361.9 kB / 0.8971 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003402/0.772, allocations: 1.339 MB / 0.8984 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003764/0.7758, allocations: 1.604 MB / 0.9 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007095/0.7829, allocations: 2.991 MB / 0.9029 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.7829, allocations: 4 kB / 0.9029 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01221/0.7951, allocations: 4.4 MB / 0.9072 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.7951, allocations: 11.98 kB / 0.9072 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.7951, allocations: 8 kB / 0.9072 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005588/0.8007, allocations: 1.435 MB / 0.9086 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.8029, allocations: 435.2 kB / 0.9091 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03367/0.8366, allocations: 26.7 MB / 0.9351 GB, free: 5.645 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/0.8394, allocations: 303.5 kB / 0.9354 GB, free: 5.348 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003069/0.8397, allocations: 63.91 kB / 0.9355 GB, free: 5.285 MB / 0.67 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001102/0.8408, allocations: 445.4 kB / 0.9359 GB, free: 4.84 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005174/0.8413, allocations: 175 kB / 0.9361 GB, free: 4.668 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/0.8534, allocations: 4.398 MB / 0.9404 GB, free: 220 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.8534, allocations: 12 kB / 0.9404 GB, free: 208 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.194e-05/0.8535, allocations: 16 kB / 0.9404 GB, free: 192 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/0.8535, allocations: 7.969 kB / 0.9404 GB, free: 184 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/0.8707, allocations: 6.717 MB / 0.947 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.8707, allocations: 4 kB / 0.947 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/0.8725, allocations: 379.4 kB / 0.9473 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004893/0.8774, allocations: 1.306 MB / 0.9486 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000191/0.8776, allocations: 39.97 kB / 0.9486 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0295/0.9071, allocations: 25.51 MB / 0.9735 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.9071, allocations: 0.5625 kB / 0.9735 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/0.9187, allocations: 4.171 MB / 0.9776 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/0.9204, allocations: 463.8 kB / 0.9781 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006666/0.921, allocations: 28 kB / 0.9781 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002494/0.9235, allocations: 311.5 kB / 0.9784 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005263/0.924, allocations: 120.7 kB / 0.9785 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/0.9243, allocations: 55.91 kB / 0.9786 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00145/0.9257, allocations: 0.7526 MB / 0.9793 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9257, allocations: 0 / 0.9793 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00285/0.9286, allocations: 0.5742 MB / 0.9798 GB, free: 5.625 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004533/0.929, allocations: 135.7 kB / 0.98 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01179/0.9408, allocations: 4.97 MB / 0.9848 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.9408, allocations: 0 / 0.9848 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007614/0.9484, allocations: 3.425 MB / 0.9882 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/0.9519, allocations: 0.5548 MB / 0.9887 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.9625, allocations: 4.179 MB / 0.9928 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/0.9642, allocations: 1.473 MB / 0.9942 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007226/0.9649, allocations: 135.3 kB / 0.9944 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/0.9649, allocations: 4 kB / 0.9944 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of Templates: time 0.1272/1.092, allocations: 112.7 MB / 1.104 GB, free: 5.668 MB / 0.8419 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.480013994005276] Failed to read output from testmodel.py, exit status != 0: 1.101640264998423 1.115208898 0.46378055599999995 Calling exit ...