Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001231/0.001231, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001509/0.001509, allocations: 165 kB / 23.02 MB, free: 1.547 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.9325/0.9325, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.002357/0.002357, allocations: 230.2 kB / 260.2 MB, free: 12.83 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.7374/0.7374, allocations: 138.4 MB / 455.2 MB, free: 1.574 MB / 362.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.351e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.009258/0.009272, allocations: 11.86 MB / 0.5667 GB, free: 4.633 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00426/0.01353, allocations: 3.609 MB / 0.5702 GB, free: 1.016 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/0.01417, allocations: 111.2 kB / 0.5703 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008292/0.015, allocations: 492.5 kB / 0.5708 GB, free: 432 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.01625, allocations: 1.114 MB / 0.5719 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.01741, allocations: 1.01 MB / 0.5729 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003129/0.02054, allocations: 4.873 MB / 0.5776 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002633/0.02317, allocations: 3.139 MB / 0.5807 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.0253, allocations: 2.986 MB / 0.5836 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.02713, allocations: 2.338 MB / 0.5859 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003987/0.02753, allocations: 432 kB / 0.5863 GB, free: 444 kB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005938/0.02812, allocations: 0.5114 MB / 0.5868 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.02926, allocations: 1.812 MB / 0.5886 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0009815/0.03024, allocations: 1.353 MB / 0.5899 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.03243, allocations: 3.366 MB / 0.5932 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.03243, allocations: 0 / 0.5932 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.62e-07/0.03243, allocations: 0 / 0.5932 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.214e-05/0.03246, allocations: 0 / 0.5932 GB, free: 9.375 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003499/0.03596, allocations: 3.595 MB / 0.5967 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.036, allocations: 12.75 kB / 0.5967 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/0.03796, allocations: 1.029 MB / 0.5977 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.03999, allocations: 1.953 MB / 0.5996 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.0401, allocations: 230.3 kB / 0.5998 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002815/0.04038, allocations: 296.4 kB / 0.6001 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1924/0.2328, allocations: 3.138 MB / 0.6032 GB, free: 83.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.2329, allocations: 19 kB / 0.6032 GB, free: 83.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003198/0.2332, allocations: 131.5 kB / 0.6033 GB, free: 83.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003691/0.2336, allocations: 225.7 kB / 0.6036 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/0.2364, allocations: 1.135 MB / 0.6047 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008926/0.2453, allocations: 14.42 MB / 0.6187 GB, free: 75.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007734/0.2461, allocations: 0.5885 MB / 0.6193 GB, free: 75.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/0.2467, allocations: 441.8 kB / 0.6197 GB, free: 75.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.141e-05/0.2468, allocations: 18.69 kB / 0.6198 GB, free: 75.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.2468, allocations: 49.73 kB / 0.6198 GB, free: 75.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=107): time 2.655e-06/0.2468, allocations: 0 / 0.6198 GB, free: 75.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=138): time 0.008285/0.2551, allocations: 4.433 MB / 0.6241 GB, free: 74.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.2551, allocations: 70.19 kB / 0.6242 GB, free: 74.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008522/0.2559, allocations: 0.9941 MB / 0.6252 GB, free: 74.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.256, allocations: 47.14 kB / 0.6252 GB, free: 74.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005657/0.2566, allocations: 1.401 MB / 0.6266 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.2568, allocations: 0.5053 MB / 0.6271 GB, free: 72.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.2571, allocations: 303.6 kB / 0.6274 GB, free: 72.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.098e-05/0.2572, allocations: 481.7 kB / 0.6278 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005033/0.2577, allocations: 304.3 kB / 0.6281 GB, free: 72.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006903/0.2584, allocations: 0.8846 MB / 0.629 GB, free: 71.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.2596, allocations: 1.316 MB / 0.6303 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.2597, allocations: 3.844 kB / 0.6303 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00284/0.2625, allocations: 1.935 MB / 0.6322 GB, free: 69.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2625, allocations: 10.84 kB / 0.6322 GB, free: 69.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.2625, allocations: 17.27 kB / 0.6322 GB, free: 69.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/0.2645, allocations: 0.8773 MB / 0.633 GB, free: 69.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.2651, allocations: 259.3 kB / 0.6333 GB, free: 69.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007817/0.2729, allocations: 9.087 MB / 0.6422 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006144/0.2735, allocations: 92.98 kB / 0.6423 GB, free: 62.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/0.2736, allocations: 62.64 kB / 0.6423 GB, free: 62.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005448/0.2741, allocations: 248.1 kB / 0.6425 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.2743, allocations: 211.2 kB / 0.6427 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/0.2769, allocations: 1.656 MB / 0.6444 GB, free: 62.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.2769, allocations: 13.84 kB / 0.6444 GB, free: 62.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.2769, allocations: 16.69 kB / 0.6444 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.2769, allocations: 5.109 kB / 0.6444 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004735/0.2816, allocations: 3.977 MB / 0.6483 GB, free: 60.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2816, allocations: 3.812 kB / 0.6483 GB, free: 60.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.2819, allocations: 149.7 kB / 0.6484 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/0.2835, allocations: 0.8128 MB / 0.6492 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.2836, allocations: 28.95 kB / 0.6493 GB, free: 60.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006109/0.2897, allocations: 9.041 MB / 0.6581 GB, free: 53.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.2897, allocations: 9.719 kB / 0.6581 GB, free: 53.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.2918, allocations: 1.875 MB / 0.6599 GB, free: 52.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/0.2921, allocations: 326.2 kB / 0.6602 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/0.2922, allocations: 26.19 kB / 0.6603 GB, free: 52.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.2926, allocations: 88.61 kB / 0.6603 GB, free: 52.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.2928, allocations: 130.1 kB / 0.6605 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.2928, allocations: 35 kB / 0.6605 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003961/0.2932, allocations: 0.5897 MB / 0.6611 GB, free: 51.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.2932, allocations: 0 / 0.6611 GB, free: 51.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001373/0.2946, allocations: 0.6647 MB / 0.6617 GB, free: 51.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.2948, allocations: 137.9 kB / 0.6619 GB, free: 50.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.2968, allocations: 2.104 MB / 0.6639 GB, free: 48.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2968, allocations: 0 / 0.6639 GB, free: 48.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.2979, allocations: 1.577 MB / 0.6655 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.299, allocations: 484.3 kB / 0.6659 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.3035, allocations: 4.794 MB / 0.6706 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.304, allocations: 0.8039 MB / 0.6714 GB, free: 41.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004556/0.3045, allocations: 293.2 kB / 0.6717 GB, free: 40.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.3046, allocations: 80.5 kB / 0.6717 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/0.3046, allocations: 0 / 0.6717 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.03012/0.3348, allocations: 33.51 MB / 0.7045 GB, free: 7.977 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3472935650497675]