Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.0007666/0.0007666, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007766/0.0007766, allocations: 173.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.8487/0.8487, allocations: 177.1 MB / 203.5 MB, free: 5.531 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.001349/0.001349, allocations: 225.8 kB / 260.2 MB, free: 12.89 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.661/0.661, 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.6475 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.215e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.2308/0.2308, allocations: 21.81 MB / 0.6688 GB, free: 44.82 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007409/0.2382, allocations: 6.388 MB / 0.6751 GB, free: 40.61 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.2393, allocations: 125.3 kB / 0.6752 GB, free: 40.55 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.2411, allocations: 1.518 MB / 0.6767 GB, free: 39.71 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.2431, allocations: 1.979 MB / 0.6786 GB, free: 38.56 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.2451, allocations: 1.479 MB / 0.6801 GB, free: 37.76 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004334/0.2494, allocations: 7.03 MB / 0.6869 GB, free: 34.64 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003564/0.253, allocations: 3.743 MB / 0.6906 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003809/0.2568, allocations: 4.019 MB / 0.6945 GB, free: 30.88 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003212/0.26, allocations: 3.395 MB / 0.6978 GB, free: 29.8 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005366/0.2605, allocations: 0.5266 MB / 0.6983 GB, free: 29.8 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.2622, allocations: 1.137 MB / 0.6994 GB, free: 29.58 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001615/0.2638, allocations: 2.664 MB / 0.702 GB, free: 28.27 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.2651, allocations: 1.758 MB / 0.7038 GB, free: 27.29 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004921/0.2701, allocations: 8.684 MB / 0.7122 GB, free: 21.15 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2701, allocations: 5.688 kB / 0.7123 GB, free: 21.14 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2701, allocations: 0 / 0.7123 GB, free: 21.14 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.026e-05/0.2701, allocations: 0 / 0.7123 GB, free: 21.14 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.004569/0.2747, allocations: 4.422 MB / 0.7166 GB, free: 18.12 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2747, allocations: 10.72 kB / 0.7166 GB, free: 18.12 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004322/0.2791, allocations: 1.714 MB / 0.7183 GB, free: 17.24 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/0.282, allocations: 2.662 MB / 0.7209 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.2822, allocations: 279.4 kB / 0.7211 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/0.2826, allocations: 361 kB / 0.7215 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006001/0.2886, allocations: 7.717 MB / 0.729 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.597e-05/0.2886, allocations: 12.12 kB / 0.729 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002813/0.2889, allocations: 160.3 kB / 0.7292 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002669/0.2892, allocations: 491.3 kB / 0.7296 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004605/0.2938, allocations: 5.696 MB / 0.7352 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0158/0.3096, allocations: 19.92 MB / 0.7547 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.3113, allocations: 2.018 MB / 0.7566 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.3132, allocations: 2.104 MB / 0.7587 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.864e-05/0.3133, allocations: 13.31 kB / 0.7587 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3134, allocations: 55.8 kB / 0.7587 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=146): time 2.755e-06/0.3134, allocations: 0 / 0.7587 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=251): time 0.1449/0.4582, allocations: 76.72 MB / 0.8337 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.4583, allocations: 77.41 kB / 0.8337 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.4597, allocations: 1.608 MB / 0.8353 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.4598, allocations: 69.7 kB / 0.8354 GB, free: 9.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007752/0.4606, allocations: 1.795 MB / 0.8371 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005153/0.4611, allocations: 0.8829 MB / 0.838 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006135/0.4617, allocations: 485.4 kB / 0.8385 GB, free: 6.477 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.577e-05/0.4618, allocations: 305.1 kB / 0.8387 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/0.4642, allocations: 2.734 MB / 0.8414 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/0.4669, allocations: 3.332 MB / 0.8447 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005444/0.4724, allocations: 6.393 MB / 0.8509 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.4724, allocations: 4 kB / 0.8509 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01808/0.4905, allocations: 14.4 MB / 0.865 GB, free: 10.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.4905, allocations: 12 kB / 0.865 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.4905, allocations: 20 kB / 0.865 GB, free: 10.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01538/0.5059, allocations: 9.19 MB / 0.874 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/0.5066, allocations: 303.4 kB / 0.8743 GB, free: 1.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04781/0.5544, allocations: 50.84 MB / 0.9239 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.5565, allocations: 223.7 kB / 0.9241 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.5566, allocations: 105 kB / 0.9242 GB, free: 13.43 MB / 0.7605 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002491/0.5591, allocations: 1.581 MB / 0.9258 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.5594, allocations: 246.6 kB / 0.926 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2662/0.8256, allocations: 14.48 MB / 0.9401 GB, free: 234.2 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.8256, allocations: 23.03 kB / 0.9402 GB, free: 234.2 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001242/0.8258, allocations: 44.56 kB / 0.9402 GB, free: 234.2 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-05/0.8258, allocations: 17.72 kB / 0.9402 GB, free: 234.2 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02487/0.8507, allocations: 18.93 MB / 0.9587 GB, free: 230.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.8507, allocations: 7.266 kB / 0.9587 GB, free: 230.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.8511, allocations: 165.1 kB / 0.9589 GB, free: 230.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01615/0.8673, allocations: 8.976 MB / 0.9676 GB, free: 229.4 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/0.8675, allocations: 47.28 kB / 0.9677 GB, free: 229.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0418/0.9093, allocations: 50.4 MB / 1.017 GB, free: 202.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.9093, allocations: 8 kB / 1.017 GB, free: 202.1 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/0.9259, allocations: 14.08 MB / 1.031 GB, free: 187.9 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.9272, allocations: 0.7637 MB / 1.031 GB, free: 187.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.9274, allocations: 51.98 kB / 1.031 GB, free: 187.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009718/0.9284, allocations: 207.7 kB / 1.032 GB, free: 186.9 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009344/0.9293, allocations: 253.3 kB / 1.032 GB, free: 186.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.9295, allocations: 68 kB / 1.032 GB, free: 186.6 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008551/0.9303, allocations: 1.068 MB / 1.033 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9303, allocations: 0 / 1.033 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002911/0.9332, allocations: 1.612 MB / 1.035 GB, free: 183.9 MB / 0.7605 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002635/0.9335, allocations: 178.7 kB / 1.035 GB, free: 183.8 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01054/0.944, allocations: 10.17 MB / 1.045 GB, free: 173.5 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.944, allocations: 4 kB / 1.045 GB, free: 173.5 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.007836/0.9519, allocations: 6.994 MB / 1.052 GB, free: 166.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.9536, allocations: 0.5357 MB / 1.052 GB, free: 166 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008899/0.9625, allocations: 9.53 MB / 1.061 GB, free: 156.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/0.9643, allocations: 2.747 MB / 1.064 GB, free: 153.7 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.9645, allocations: 108.5 kB / 1.064 GB, free: 153.6 MB / 0.7605 GB Notification: Performance of SimCode: time 1.232e-06/0.9645, allocations: 0 / 1.064 GB, free: 153.6 MB / 0.7605 GB Notification: Performance of Templates: time 0.3189/1.283, allocations: 189.2 MB / 1.249 GB, free: 243.1 MB / 0.7761 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.926277065649629] Failed to read output from testmodel.py, exit status != 0: 1.2892585648223758 1.297973523 1.02613232 Calling exit ...