Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.001366/0.001366, allocations: 118.7 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.001381/0.001381, 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.459/1.459, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.002482/0.002482, allocations: 288.1 kB / 303.6 MB, free: 3.707 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.066/1.066, allocations: 180.9 MB / 0.5268 GB, free: 2.715 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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002877/0.002877, allocations: 107.8 kB / 0.7259 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5456/0.5484, allocations: 94.15 MB / 0.8179 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0362/0.5846, allocations: 31.23 MB / 0.8484 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02535/0.61, allocations: 13.71 MB / 0.8618 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004381/0.6144, allocations: 143.3 kB / 0.8619 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009648/0.624, allocations: 3.248 MB / 0.8651 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.6354, allocations: 2.759 MB / 0.8678 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008424/0.6438, allocations: 2.022 MB / 0.8697 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01425/0.6581, allocations: 7.624 MB / 0.8772 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.6687, allocations: 6.14 MB / 0.8832 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008021/0.6768, allocations: 3.476 MB / 0.8866 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008082/0.6849, allocations: 3.568 MB / 0.8901 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002718/0.6876, allocations: 0.5938 MB / 0.8906 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006044/0.6936, allocations: 1.521 MB / 0.8921 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004762/0.6984, allocations: 2.427 MB / 0.8945 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007227/0.7056, allocations: 2.882 MB / 0.8973 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01522/0.7208, allocations: 9.492 MB / 0.9066 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.7208, allocations: 0 / 0.9066 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7208, allocations: 0 / 0.9066 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003079/0.7211, allocations: 0 / 0.9066 GB, free: 6.039 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01434/0.7355, allocations: 5.266 MB / 0.9117 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.7355, allocations: 8.031 kB / 0.9117 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00666/0.7422, allocations: 1.032 MB / 0.9127 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006862/0.749, allocations: 3.093 MB / 0.9158 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/0.7493, allocations: 312.8 kB / 0.9161 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.7506, allocations: 428 kB / 0.9165 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01425/0.7649, allocations: 6.784 MB / 0.9231 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001396/0.765, allocations: 23.83 kB / 0.9231 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005771/0.7656, allocations: 188 kB / 0.9233 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00094/0.7665, allocations: 372 kB / 0.9236 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/0.7776, allocations: 5.114 MB / 0.9286 GB, free: 14.96 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03983/0.8174, allocations: 30.56 MB / 0.9585 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.8196, allocations: 1.324 MB / 0.9598 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.8215, allocations: 1.249 MB / 0.961 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-05/0.8216, allocations: 17.31 kB / 0.961 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.8216, allocations: 47.88 kB / 0.9611 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=130): time 3.036e-06/0.8216, allocations: 4 kB / 0.9611 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199): time 0.0938/0.9154, allocations: 23.07 MB / 0.9836 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.9155, allocations: 73.41 kB / 0.9837 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003315/0.9188, allocations: 2.066 MB / 0.9857 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003651/0.9192, allocations: 61.7 kB / 0.9857 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001648/0.9208, allocations: 2.059 MB / 0.9877 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009063/0.9217, allocations: 0.7165 MB / 0.9884 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007783/0.9225, allocations: 408.4 kB / 0.9888 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9226, allocations: 308.9 kB / 0.9891 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/0.9249, allocations: 1.43 MB / 0.9905 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002743/0.9276, allocations: 2.013 MB / 0.9925 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005327/0.933, allocations: 3.692 MB / 0.9961 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.933, allocations: 4 kB / 0.9961 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01195/0.9449, allocations: 5.607 MB / 1.002 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.945, allocations: 12 kB / 1.002 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/0.945, allocations: 16 kB / 1.002 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0073/0.9523, allocations: 2.08 MB / 1.004 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.9539, allocations: 379.4 kB / 1.004 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04453/0.9985, allocations: 38.46 MB / 1.042 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/1.001, allocations: 123.9 kB / 1.042 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/1.001, allocations: 95.98 kB / 1.042 GB, free: 5.008 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002826/1.004, allocations: 1.505 MB / 1.043 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006976/1.005, allocations: 294.2 kB / 1.044 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/1.016, allocations: 5.145 MB / 1.049 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/1.016, allocations: 20 kB / 1.049 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-05/1.016, allocations: 20 kB / 1.049 GB, free: 13.94 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.107e-05/1.016, allocations: 7.969 kB / 1.049 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/1.036, allocations: 9.614 MB / 1.058 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/1.036, allocations: 8 kB / 1.058 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009565/1.036, allocations: 215.6 kB / 1.058 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006154/1.043, allocations: 1.842 MB / 1.06 GB, free: 1.996 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002648/1.043, allocations: 40 kB / 1.06 GB, free: 1.957 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04279/1.086, allocations: 37.46 MB / 1.097 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/1.086, allocations: 11.94 kB / 1.097 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/1.096, allocations: 4.856 MB / 1.101 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/1.098, allocations: 0.6318 MB / 1.102 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/1.098, allocations: 43.94 kB / 1.102 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.1, allocations: 127.8 kB / 1.102 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006934/1.1, allocations: 193.6 kB / 1.102 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.1, allocations: 60 kB / 1.102 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002304/1.103, allocations: 1.378 MB / 1.104 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 6e-08/1.103, allocations: 0 / 1.104 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004975/1.108, allocations: 1.047 MB / 1.105 GB, free: 1.434 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,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.0004814/1.108, allocations: 171.4 kB / 1.105 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.119, allocations: 6.014 MB / 1.111 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.119, allocations: 4 kB / 1.111 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.007646/1.127, allocations: 4.285 MB / 1.115 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004844/1.132, allocations: 1.001 MB / 1.116 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/1.149, allocations: 8.738 MB / 1.124 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004699/1.154, allocations: 3.187 MB / 1.128 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007696/1.155, allocations: 163.4 kB / 1.128 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of SimCode: time 2.074e-06/1.155, allocations: 3.938 kB / 1.128 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of Templates: time 1.108/2.263, allocations: 465.1 MB / 1.582 GB, free: 266.8 MB / 0.92 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 25.41774258087389] Failed to read output from testmodel.py, exit status != 0: 2.2711277278140187 2.279437089 1.556080269 Calling exit ...