Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0006857/0.0006857, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009846/0.00167, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.0007049/0.0007049, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009687/0.001674, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.9252/0.9252, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07967/1.005, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.847/1.847, allocations: 390 MB / 0.6193 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4591/2.306, allocations: 127.1 MB / 0.7435 GB, free: 4.543 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 0.7448 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.828e-05, allocations: 5.531 kB / 0.7448 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01424/0.01425, allocations: 12.01 MB / 0.7566 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.008148/0.0224, allocations: 3.81 MB / 0.7603 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.02341, allocations: 111.2 kB / 0.7604 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008525/0.02427, allocations: 0.529 MB / 0.7609 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.02577, allocations: 1.334 MB / 0.7622 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.02703, allocations: 1.013 MB / 0.7632 GB, free: 444 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.004219/0.03124, allocations: 5.577 MB / 0.7686 GB, free: 10.84 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/0.03444, allocations: 3.201 MB / 0.7718 GB, free: 7.555 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003568/0.03801, allocations: 3.386 MB / 0.7751 GB, free: 4.16 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.04071, allocations: 2.665 MB / 0.7777 GB, free: 1.492 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.0005879/0.0413, allocations: 428 kB / 0.7781 GB, free: 1.074 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008267/0.04213, allocations: 0.5075 MB / 0.7786 GB, free: 0.5664 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.04323, allocations: 1.724 MB / 0.7803 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.04436, allocations: 1.135 MB / 0.7814 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.04704, allocations: 3.214 MB / 0.7845 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.04706, allocations: 0 / 0.7845 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.382e-06/0.04706, allocations: 1.281 kB / 0.7845 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.185e-05/0.04712, allocations: 0 / 0.7845 GB, free: 10.48 MB / 0.7605 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.003516/0.05064, allocations: 3.946 MB / 0.7884 GB, free: 6.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.05067, allocations: 8.031 kB / 0.7884 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.05248, allocations: 0.891 MB / 0.7892 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.05407, allocations: 1.559 MB / 0.7908 GB, free: 3.984 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.05417, allocations: 224.3 kB / 0.791 GB, free: 3.766 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/0.05446, allocations: 296.4 kB / 0.7913 GB, free: 3.477 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.05696, allocations: 2.873 MB / 0.7941 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.088e-05/0.05701, allocations: 16.08 kB / 0.7941 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.05721, allocations: 131.9 kB / 0.7942 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/0.05742, allocations: 210.4 kB / 0.7944 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.05854, allocations: 0.7839 MB / 0.7952 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008324/0.06686, allocations: 10.44 MB / 0.8054 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/0.0674, allocations: 0.5331 MB / 0.8059 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/0.06776, allocations: 333.5 kB / 0.8062 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.0678, allocations: 17 kB / 0.8062 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.06782, allocations: 51.48 kB / 0.8063 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=107): time 1.974e-06/0.06783, allocations: 5.062 kB / 0.8063 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of matching and sorting (n=110): time 0.00772/0.07555, allocations: 3.98 MB / 0.8102 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.07558, allocations: 68.41 kB / 0.8102 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005507/0.07613, allocations: 0.8881 MB / 0.8111 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.07618, allocations: 41.7 kB / 0.8111 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000415/0.0766, allocations: 1.192 MB / 0.8123 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.07679, allocations: 408.5 kB / 0.8127 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.077, allocations: 239.4 kB / 0.8129 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.07709, allocations: 365.8 kB / 0.8133 GB, free: 12.31 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.07728, allocations: 147.9 kB / 0.8134 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.07766, allocations: 0.5565 MB / 0.8139 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007016/0.07836, allocations: 0.8788 MB / 0.8148 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.07836, allocations: 4 kB / 0.8148 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001398/0.07976, allocations: 1.154 MB / 0.8159 GB, free: 9.223 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.07978, allocations: 8 kB / 0.8159 GB, free: 9.215 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.07979, allocations: 12 kB / 0.816 GB, free: 9.203 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.08099, allocations: 0.5883 MB / 0.8165 GB, free: 8.609 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.08148, allocations: 251.6 kB / 0.8168 GB, free: 8.363 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004131/0.08561, allocations: 4.595 MB / 0.8213 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.086, allocations: 43.94 kB / 0.8213 GB, free: 3.539 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/0.08605, allocations: 47.98 kB / 0.8213 GB, free: 3.492 MB / 0.7917 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 (125): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,25,88.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004569/0.08651, allocations: 204.2 kB / 0.8215 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.08665, allocations: 131.9 kB / 0.8217 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.08789, allocations: 0.9881 MB / 0.8226 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.0879, allocations: 8 kB / 0.8226 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.08791, allocations: 8 kB / 0.8226 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.08792, allocations: 7.984 kB / 0.8227 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.09071, allocations: 2.198 MB / 0.8248 GB, free: 15.85 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.09072, allocations: 0 / 0.8248 GB, free: 15.85 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.091, allocations: 123.9 kB / 0.8249 GB, free: 15.73 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.09125, allocations: 210.9 kB / 0.8251 GB, free: 15.52 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/0.09235, allocations: 0.5601 MB / 0.8257 GB, free: 14.95 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.0924, allocations: 20 kB / 0.8257 GB, free: 14.93 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003903/0.0963, allocations: 4.604 MB / 0.8302 GB, free: 10.14 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.0963, allocations: 4 kB / 0.8302 GB, free: 10.13 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.09769, allocations: 1.135 MB / 0.8313 GB, free: 8.934 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.15e-05/0.09778, allocations: 20 kB / 0.8313 GB, free: 8.914 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.09805, allocations: 28 kB / 0.8313 GB, free: 8.887 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.09819, allocations: 96.75 kB / 0.8314 GB, free: 8.793 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.09823, allocations: 24 kB / 0.8315 GB, free: 8.77 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.0002946/0.09852, allocations: 437.9 kB / 0.8319 GB, free: 8.336 MB / 0.8074 GB Notification: Performance of sort global known variables: time 8e-08/0.09852, allocations: 0 / 0.8319 GB, free: 8.336 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0011/0.09962, allocations: 0.6093 MB / 0.8325 GB, free: 7.727 MB / 0.8074 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.09978, allocations: 112.3 kB / 0.8326 GB, free: 7.605 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.1011, allocations: 1.289 MB / 0.8338 GB, free: 6.297 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 3.685e-05/0.1011, allocations: 28.44 kB / 0.8339 GB, free: 6.273 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.000864/0.102, allocations: 0.962 MB / 0.8348 GB, free: 5.285 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.1042, allocations: 4.322 MB / 0.839 GB, free: 100 kB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/0.1224, allocations: 4.815 MB / 0.8437 GB, free: 11.19 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007743/0.1231, allocations: 0.754 MB / 0.8445 GB, free: 10.41 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005033/0.1236, allocations: 168.6 kB / 0.8446 GB, free: 10.24 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/0.1242, allocations: 395.1 kB / 0.845 GB, free: 9.852 MB / 0.823 GB Notification: Performance of SimCode: time 1.603e-06/0.1242, allocations: 0 / 0.845 GB, free: 9.852 MB / 0.823 GB Notification: Performance of Templates: time 0.03427/0.1585, allocations: 30.2 MB / 0.8745 GB, free: 12.25 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.173849648796022]