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.001303/0.001303, allocations: 77.78 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001394/0.001394, allocations: 164.6 kB / 23.02 MB, free: 4.941 MB / 14.72 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 1.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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.002557/0.002557, allocations: 237.3 kB / 260 MB, free: 444 kB / 238.1 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.9303/0.9303, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003073/0.003073, allocations: 99.84 kB / 0.6474 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4014, allocations: 95.34 MB / 0.7405 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02077/0.4222, allocations: 22.23 MB / 0.7622 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.4334, allocations: 6.453 MB / 0.7685 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.4357, allocations: 126.3 kB / 0.7686 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004371/0.44, allocations: 1.514 MB / 0.7701 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00481/0.4449, allocations: 1.94 MB / 0.772 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004232/0.4491, allocations: 1.466 MB / 0.7734 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008936/0.458, allocations: 6.897 MB / 0.7801 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006235/0.4643, allocations: 3.74 MB / 0.7838 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004838/0.4691, allocations: 2.935 MB / 0.7867 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0062/0.4753, allocations: 3.561 MB / 0.7901 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001138/0.4764, allocations: 0.5273 MB / 0.7907 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.4793, allocations: 1.108 MB / 0.7917 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003168/0.4824, allocations: 2.529 MB / 0.7942 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003653/0.4861, allocations: 2.058 MB / 0.7962 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.4962, allocations: 8.586 MB / 0.8046 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4962, allocations: 4 kB / 0.8046 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4962, allocations: 0 / 0.8046 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001227/0.4963, allocations: 3.938 kB / 0.8046 GB, free: 0.9648 MB / 0.6231 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.007926/0.5042, allocations: 4.468 MB / 0.809 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5042, allocations: 12.75 kB / 0.809 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008522/0.5128, allocations: 1.707 MB / 0.8107 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005142/0.5179, allocations: 2.668 MB / 0.8133 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.5181, allocations: 275.7 kB / 0.8135 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006389/0.5188, allocations: 372.2 kB / 0.8139 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.5311, allocations: 7.717 MB / 0.8214 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.164e-05/0.5312, allocations: 7.938 kB / 0.8214 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004241/0.5316, allocations: 159.9 kB / 0.8216 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006111/0.5323, allocations: 483.3 kB / 0.822 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009346/0.5416, allocations: 5.697 MB / 0.8276 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02867/0.5703, allocations: 19.96 MB / 0.8471 GB, free: 4.578 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.5732, allocations: 2.016 MB / 0.8491 GB, free: 2.555 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/0.5763, allocations: 2.1 MB / 0.8511 GB, free: 464 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.5764, allocations: 17.31 kB / 0.8511 GB, free: 448 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.5765, allocations: 51.8 kB / 0.8512 GB, free: 384 kB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 3.286e-06/0.5765, allocations: 0 / 0.8512 GB, free: 384 kB / 0.67 GB Notification: Performance of matching and sorting (n=251): time 0.3258/0.9023, allocations: 76.72 MB / 0.9261 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.9024, allocations: 77.41 kB / 0.9262 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.905, allocations: 1.602 MB / 0.9277 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000424/0.9054, allocations: 65.7 kB / 0.9278 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.9069, allocations: 1.807 MB / 0.9296 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.908, allocations: 0.8907 MB / 0.9304 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.9093, allocations: 485.4 kB / 0.9309 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.9094, allocations: 309.1 kB / 0.9312 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004238/0.9136, allocations: 2.73 MB / 0.9339 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004737/0.9184, allocations: 3.332 MB / 0.9371 GB, free: 7.949 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009452/0.9278, allocations: 6.393 MB / 0.9434 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/0.9278, allocations: 7.938 kB / 0.9434 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03526/0.9631, allocations: 14.4 MB / 0.9574 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.9631, allocations: 20.25 kB / 0.9574 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/0.9632, allocations: 16 kB / 0.9575 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03175/0.9949, allocations: 9.194 MB / 0.9664 GB, free: 9.605 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.9962, allocations: 307.4 kB / 0.9667 GB, free: 9.305 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4173/1.414, allocations: 50.84 MB / 1.016 GB, free: 197.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/1.416, allocations: 220.8 kB / 1.017 GB, free: 197.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003036/1.417, allocations: 98.58 kB / 1.017 GB, free: 197.4 MB / 0.8106 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.002244/1.419, allocations: 1.587 MB / 1.018 GB, free: 196.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005076/1.419, allocations: 246 kB / 1.018 GB, free: 196.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0308/1.45, allocations: 14.47 MB / 1.033 GB, free: 192.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/1.45, allocations: 28.66 kB / 1.033 GB, free: 192.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001584/1.45, allocations: 44.31 kB / 1.033 GB, free: 192.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-05/1.45, allocations: 14.09 kB / 1.033 GB, free: 192.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03844/1.489, allocations: 18.93 MB / 1.051 GB, free: 183.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/1.489, allocations: 10.5 kB / 1.051 GB, free: 183.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/1.49, allocations: 160.4 kB / 1.051 GB, free: 183.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02729/1.517, allocations: 8.979 MB / 1.06 GB, free: 178.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000483/1.518, allocations: 48 kB / 1.06 GB, free: 178.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06547/1.583, allocations: 50.41 MB / 1.109 GB, free: 127.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/1.583, allocations: 15.88 kB / 1.109 GB, free: 127.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02774/1.611, allocations: 14.08 MB / 1.123 GB, free: 113.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/1.613, allocations: 0.7736 MB / 1.124 GB, free: 112.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005169/1.613, allocations: 55.92 kB / 1.124 GB, free: 112.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/1.615, allocations: 207.7 kB / 1.124 GB, free: 112.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/1.616, allocations: 253.3 kB / 1.124 GB, free: 111.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/1.617, allocations: 64 kB / 1.124 GB, free: 111.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001124/1.618, allocations: 1.064 MB / 1.125 GB, free: 110.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/1.618, allocations: 336 / 1.125 GB, free: 110.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003698/1.621, allocations: 1.613 MB / 1.127 GB, free: 109.1 MB / 0.8106 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.0003066/1.622, allocations: 163.6 kB / 1.127 GB, free: 108.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01942/1.641, allocations: 10.2 MB / 1.137 GB, free: 98.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/1.641, allocations: 0 / 1.137 GB, free: 98.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01499/1.656, allocations: 7.018 MB / 1.144 GB, free: 91.63 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/1.659, allocations: 0.5377 MB / 1.145 GB, free: 91.12 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/1.67, allocations: 8.926 MB / 1.153 GB, free: 82.14 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002512/1.672, allocations: 2.673 MB / 1.156 GB, free: 79.43 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008061/1.673, allocations: 386.8 kB / 1.156 GB, free: 79.05 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/1.673, allocations: 100.4 kB / 1.156 GB, free: 78.95 MB / 0.8106 GB Notification: Performance of SimCode: time 7.11e-07/1.673, allocations: 0 / 1.156 GB, free: 78.95 MB / 0.8106 GB Notification: Performance of Templates: time 0.1079/1.781, allocations: 97.42 MB / 1.251 GB, free: 14.09 MB / 0.8419 GB " [Timeout remaining time 658] 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.986331115942448] Failed to read output from testmodel.py, exit status != 0: 1.789620034978725 1.803377804 1.304102263 Calling exit ...