Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.00101/0.00101, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009899/0.0009899, allocations: 173 kB / 23.35 MB, free: 1.137 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.9284/0.9284, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.00161/0.00161, allocations: 239 kB / 260.5 MB, free: 12.7 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.7484/0.7484, allocations: 138.4 MB / 402.2 MB, free: 0.5391 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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0.7031 kB / 462.4 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.738e-06/1.121e-05, allocations: 2.312 kB / 462.4 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.01091/0.01093, allocations: 4.095 MB / 466.5 MB, free: 14.27 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004293/0.01522, allocations: 1.547 MB / 468 MB, free: 12.97 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.01552, allocations: 32.28 kB / 468 MB, free: 12.94 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.01604, allocations: 167.6 kB / 468.2 MB, free: 12.77 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000587/0.01662, allocations: 369.5 kB / 468.6 MB, free: 12.41 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.01709, allocations: 326.1 kB / 468.9 MB, free: 12.1 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008919/0.01798, allocations: 0.9831 MB / 469.9 MB, free: 11.11 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/0.01836, allocations: 404.3 kB / 470.3 MB, free: 10.72 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/0.01882, allocations: 0.5269 MB / 470.8 MB, free: 10.2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.0192, allocations: 369.5 kB / 471.1 MB, free: 9.836 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.155e-05/0.01926, allocations: 48 kB / 471.2 MB, free: 9.789 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.01946, allocations: 134.3 kB / 471.3 MB, free: 9.66 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.01962, allocations: 267.2 kB / 471.6 MB, free: 9.398 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.01978, allocations: 239.4 kB / 471.8 MB, free: 9.164 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004759/0.02026, allocations: 0.5839 MB / 472.4 MB, free: 8.578 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.02026, allocations: 0 / 472.4 MB, free: 8.578 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.02026, allocations: 0 / 472.4 MB, free: 8.578 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.02027, allocations: 0 / 472.4 MB, free: 8.578 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0007717/0.02104, allocations: 0.8535 MB / 473.3 MB, free: 7.711 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.686e-05/0.02107, allocations: 8.75 kB / 473.3 MB, free: 7.703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007295/0.0218, allocations: 233.2 kB / 473.5 MB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.02223, allocations: 437.7 kB / 473.9 MB, free: 7.031 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.02226, allocations: 38.48 kB / 474 MB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-05/0.02235, allocations: 56.55 kB / 474 MB, free: 6.941 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.02287, allocations: 0.7043 MB / 474.7 MB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.02289, allocations: 5.047 kB / 474.7 MB, free: 6.113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.02292, allocations: 24.12 kB / 474.7 MB, free: 6.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.18e-05/0.02301, allocations: 66.36 kB / 474.8 MB, free: 6.027 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.02324, allocations: 205.7 kB / 475 MB, free: 5.828 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.02546, allocations: 3.016 MB / 478 MB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.02564, allocations: 172.4 kB / 478.2 MB, free: 2.531 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/0.02572, allocations: 65.39 kB / 478.3 MB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.02574, allocations: 5.641 kB / 478.3 MB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.02576, allocations: 42.78 kB / 478.3 MB, free: 2.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.372e-06/0.02577, allocations: 0 / 478.3 MB, free: 2.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.001663/0.02743, allocations: 0.9896 MB / 479.3 MB, free: 1.395 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.02745, allocations: 55.41 kB / 479.3 MB, free: 1.328 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.02767, allocations: 395 kB / 479.7 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.0277, allocations: 30.64 kB / 479.8 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.02781, allocations: 321.2 kB / 480.1 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/0.02788, allocations: 127.9 kB / 480.2 MB, free: 460 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.226e-05/0.02797, allocations: 90.27 kB / 480.3 MB, free: 364 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.02807, allocations: 370.6 kB / 480.7 MB, free: 15.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/0.02815, allocations: 60.61 kB / 480.7 MB, free: 15.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.0283, allocations: 220.8 kB / 480.9 MB, free: 15.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.02858, allocations: 342.3 kB / 481.3 MB, free: 15.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.02858, allocations: 5.5 kB / 481.3 MB, free: 15.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004842/0.02907, allocations: 420.4 kB / 481.7 MB, free: 14.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.02908, allocations: 12.91 kB / 481.7 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.02909, allocations: 8.5 kB / 481.7 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/0.02947, allocations: 150.9 kB / 481.8 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.02973, allocations: 107.8 kB / 481.9 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.03168, allocations: 2.656 MB / 484.6 MB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.03185, allocations: 16 kB / 484.6 MB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.03187, allocations: 20 kB / 484.6 MB, free: 11.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (55): * Single equations (assignments): 53 * 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 {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.03198, allocations: 150.8 kB / 484.8 MB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.03204, allocations: 46.3 kB / 484.8 MB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.03244, allocations: 325.3 kB / 485.2 MB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.03244, allocations: 5.562 kB / 485.2 MB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.03245, allocations: 4 kB / 485.2 MB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.03245, allocations: 3.938 kB / 485.2 MB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.03317, allocations: 0.6914 MB / 485.9 MB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.03317, allocations: 1.344 kB / 485.9 MB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.03336, allocations: 57 kB / 485.9 MB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000342/0.0337, allocations: 154.3 kB / 486.1 MB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.03372, allocations: 8.562 kB / 486.1 MB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.03515, allocations: 2.634 MB / 488.7 MB, free: 7.371 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.03515, allocations: 7.781 kB / 488.7 MB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.03566, allocations: 0.5171 MB / 489.2 MB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.357e-05/0.03574, allocations: 72.33 kB / 489.3 MB, free: 6.738 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.03578, allocations: 12 kB / 489.3 MB, free: 6.727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.03589, allocations: 5.844 kB / 489.3 MB, free: 6.723 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.03594, allocations: 27.95 kB / 489.3 MB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.03596, allocations: 7.984 kB / 489.4 MB, free: 6.688 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.03606, allocations: 164.6 kB / 489.5 MB, free: 6.523 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03606, allocations: 0 / 489.5 MB, free: 6.523 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003515/0.03641, allocations: 157.8 kB / 489.7 MB, free: 6.371 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (27): * Single equations (assignments): 25 * 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 {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.948e-05/0.0365, allocations: 89.83 kB / 489.8 MB, free: 6.273 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004944/0.037, allocations: 0.5258 MB / 490.3 MB, free: 5.727 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.03701, allocations: 4.594 kB / 490.3 MB, free: 5.723 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.0373, allocations: 393.6 kB / 490.7 MB, free: 5.312 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.03772, allocations: 176.1 kB / 490.8 MB, free: 5.168 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.03915, allocations: 1.061 MB / 491.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.03926, allocations: 166.3 kB / 492.1 MB, free: 3.902 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001635/0.03942, allocations: 61.45 kB / 492.1 MB, free: 3.855 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.03967, allocations: 169.3 kB / 492.3 MB, free: 3.691 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03967, allocations: 0.8125 kB / 492.3 MB, free: 3.691 MB / 442.7 MB Notification: Performance of Templates: time 0.01061/0.05028, allocations: 8.588 MB / 0.4891 GB, free: 11.52 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5439044730737805]