Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.0008027/0.0008027, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008257/0.0008257, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8403/0.8403, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.00149/0.00149, allocations: 236.9 kB / 260.2 MB, free: 13.04 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.646/0.646, allocations: 138.4 MB / 455.1 MB, free: 29.96 MB / 410.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.6475 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.831e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.2551/0.2551, allocations: 25.05 MB / 0.672 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009043/0.2641, allocations: 7.981 MB / 0.6798 GB, free: 37.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.2652, allocations: 150.4 kB / 0.6799 GB, free: 37.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.2682, allocations: 2.784 MB / 0.6827 GB, free: 36.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.2704, allocations: 1.714 MB / 0.6843 GB, free: 35.03 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.2728, allocations: 1.697 MB / 0.686 GB, free: 34.07 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005299/0.2781, allocations: 6.263 MB / 0.6921 GB, free: 31.15 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003937/0.2821, allocations: 3.757 MB / 0.6958 GB, free: 29.27 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004582/0.2867, allocations: 3.726 MB / 0.6994 GB, free: 27.49 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/0.2894, allocations: 2.637 MB / 0.702 GB, free: 26.63 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004992/0.2899, allocations: 0.5071 MB / 0.7025 GB, free: 26.63 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.2917, allocations: 1.228 MB / 0.7037 GB, free: 26.3 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.2929, allocations: 2.194 MB / 0.7058 GB, free: 24.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.2941, allocations: 1.662 MB / 0.7074 GB, free: 23.92 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004661/0.2987, allocations: 8.204 MB / 0.7155 GB, free: 18.05 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2988, allocations: 0 / 0.7155 GB, free: 18.05 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2988, allocations: 0 / 0.7155 GB, free: 18.05 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.911e-05/0.2988, allocations: 0 / 0.7155 GB, free: 18.05 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.004396/0.3032, allocations: 4.223 MB / 0.7196 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3032, allocations: 10.97 kB / 0.7196 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.3054, allocations: 0.833 MB / 0.7204 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/0.3082, allocations: 2.528 MB / 0.7229 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.3083, allocations: 276.3 kB / 0.7231 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/0.3088, allocations: 373.9 kB / 0.7235 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/0.3138, allocations: 6.446 MB / 0.7298 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.45e-05/0.3139, allocations: 27.45 kB / 0.7298 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/0.3142, allocations: 160 kB / 0.73 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002646/0.3144, allocations: 282.9 kB / 0.7302 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003854/0.3183, allocations: 4.516 MB / 0.7346 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/0.3312, allocations: 17.37 MB / 0.7516 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000988/0.3321, allocations: 1.068 MB / 0.7527 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008188/0.333, allocations: 0.9602 MB / 0.7536 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.043e-05/0.333, allocations: 13 kB / 0.7536 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.333, allocations: 55.5 kB / 0.7537 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=110): time 3.447e-06/0.333, allocations: 0 / 0.7537 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=131): time 0.01168/0.3447, allocations: 9.077 MB / 0.7625 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.3448, allocations: 64.72 kB / 0.7626 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.3459, allocations: 1.401 MB / 0.7639 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/0.346, allocations: 49.7 kB / 0.764 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006984/0.3467, allocations: 1.722 MB / 0.7657 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.347, allocations: 495.7 kB / 0.7661 GB, free: 496 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/0.3473, allocations: 327.4 kB / 0.7665 GB, free: 164 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.3474, allocations: 301.1 kB / 0.7667 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008588/0.3482, allocations: 0.9234 MB / 0.7676 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.3493, allocations: 1.459 MB / 0.7691 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.3514, allocations: 2.55 MB / 0.7716 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.3514, allocations: 4 kB / 0.7716 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003255/0.3547, allocations: 3.267 MB / 0.7748 GB, free: 7.141 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.3547, allocations: 12 kB / 0.7748 GB, free: 7.129 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.3547, allocations: 18.81 kB / 0.7748 GB, free: 7.113 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.3559, allocations: 0.7404 MB / 0.7755 GB, free: 6.348 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007954/0.3567, allocations: 391.3 kB / 0.7759 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008873/0.3656, allocations: 15.8 MB / 0.7913 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007277/0.3663, allocations: 99.84 kB / 0.7914 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.3665, allocations: 79.98 kB / 0.7915 GB, free: 5.062 MB / 0.6198 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.001624/0.3681, allocations: 1.31 MB / 0.7928 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.3682, allocations: 202.8 kB / 0.793 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.371, allocations: 2.757 MB / 0.7956 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.371, allocations: 15.94 kB / 0.7957 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3711, allocations: 8.188 kB / 0.7957 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3711, allocations: 7.969 kB / 0.7957 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/0.3764, allocations: 5.329 MB / 0.8009 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3764, allocations: 4 kB / 0.8009 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/0.377, allocations: 231.7 kB / 0.8011 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009657/0.3779, allocations: 0.6716 MB / 0.8018 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/0.378, allocations: 32 kB / 0.8018 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008153/0.3862, allocations: 15.56 MB / 0.817 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3862, allocations: 8 kB / 0.817 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003551/0.3897, allocations: 3.977 MB / 0.8209 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/0.3902, allocations: 370.7 kB / 0.8212 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.3903, allocations: 31.98 kB / 0.8213 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.3907, allocations: 87.89 kB / 0.8213 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.3909, allocations: 124.6 kB / 0.8215 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.391, allocations: 36 kB / 0.8215 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000718/0.3917, allocations: 0.9048 MB / 0.8224 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9e-08/0.3917, allocations: 0 / 0.8224 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00151/0.3932, allocations: 0.6836 MB / 0.8231 GB, free: 3.492 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000177/0.3934, allocations: 156.5 kB / 0.8232 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002843/0.3962, allocations: 3.382 MB / 0.8265 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3962, allocations: 0 / 0.8265 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.3978, allocations: 2.229 MB / 0.8287 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.3992, allocations: 0.6442 MB / 0.8293 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006882/0.4061, allocations: 6.999 MB / 0.8361 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/0.4078, allocations: 2.156 MB / 0.8383 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.408, allocations: 128.5 kB / 0.8384 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of SimCode: time 6.52e-07/0.408, allocations: 0 / 0.8384 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of Templates: time 0.3174/0.7255, allocations: 210.8 MB / 1.044 GB, free: 171.3 MB / 0.7605 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.184186588972807] Failed to read output from testmodel.py, exit status != 0: 0.7307439055293798 0.73641023 0.43631352700000003 Calling exit ...