Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 194.1 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.73 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3277, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007172/0.3349, allocations: 4.39 MB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003171/0.3381, allocations: 1.866 MB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003857/0.3385, allocations: 11.94 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.3403, allocations: 0.5606 MB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000719/0.341, allocations: 242.9 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.3417, allocations: 231 kB / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.3428, allocations: 0.8374 MB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005918/0.3434, allocations: 315.5 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.3438, allocations: 211.1 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005681/0.3444, allocations: 275 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.828e-05/0.3445, allocations: 28 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006167/0.3451, allocations: 315.3 kB / 1.077 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.3453, allocations: 139.6 kB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.3456, allocations: 210.9 kB / 1.077 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008574/0.3465, allocations: 0.6116 MB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3465, allocations: 0 / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3465, allocations: 0 / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.3465, allocations: 0 / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001533/0.3481, allocations: 0.7213 MB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3481, allocations: 8.031 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.3493, allocations: 160.2 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.3497, allocations: 326.6 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.3498, allocations: 21.38 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.3498, allocations: 36.38 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007921/0.3506, allocations: 0.5356 MB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3507, allocations: 3.938 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.3507, allocations: 12 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.145e-05/0.3508, allocations: 36.62 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006624/0.3514, allocations: 386.3 kB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003011/0.3545, allocations: 2.403 MB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.355, allocations: 266.5 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.3552, allocations: 108.8 kB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.3553, allocations: 4 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3553, allocations: 30.56 kB / 1.082 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 3.797e-06/0.3553, allocations: 4 kB / 1.082 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.002348/0.3577, allocations: 1.132 MB / 1.083 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.3577, allocations: 51.41 kB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.3581, allocations: 308.3 kB / 1.084 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3582, allocations: 33.7 kB / 1.084 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.3584, allocations: 227.6 kB / 1.084 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.3584, allocations: 86.75 kB / 1.084 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.3586, allocations: 58.03 kB / 1.084 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3587, allocations: 338.8 kB / 1.085 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.3589, allocations: 108.6 kB / 1.085 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.3592, allocations: 191.7 kB / 1.085 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.3596, allocations: 315.5 kB / 1.085 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3596, allocations: 4 kB / 1.085 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000841/0.3605, allocations: 441.7 kB / 1.086 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.3605, allocations: 11.98 kB / 1.086 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3605, allocations: 352 / 1.086 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003971/0.3609, allocations: 94.5 kB / 1.086 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.3613, allocations: 67.91 kB / 1.086 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/0.3646, allocations: 4.079 MB / 1.09 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.3648, allocations: 12 kB / 1.09 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.3649, allocations: 8.141 kB / 1.09 GB, free: 3.141 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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 {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.3651, allocations: 186.3 kB / 1.09 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.3651, allocations: 39.7 kB / 1.09 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.856e-05/0.3652, allocations: 42.31 kB / 1.09 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3652, allocations: 4 kB / 1.09 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3653, allocations: 0 / 1.09 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3653, allocations: 0 / 1.09 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.3658, allocations: 401.3 kB / 1.09 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3658, allocations: 0 / 1.09 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.366, allocations: 39.91 kB / 1.09 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00031/0.3663, allocations: 90.5 kB / 1.09 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.3663, allocations: 8 kB / 1.091 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003226/0.3696, allocations: 4.064 MB / 1.094 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3696, allocations: 0 / 1.094 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/0.3704, allocations: 0.552 MB / 1.095 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.3706, allocations: 128.7 kB / 1.095 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.3706, allocations: 8.156 kB / 1.095 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.3708, allocations: 15.94 kB / 1.095 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.3709, allocations: 15.97 kB / 1.095 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.3709, allocations: 8 kB / 1.095 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000213/0.3711, allocations: 211.1 kB / 1.095 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3711, allocations: 3.938 kB / 1.095 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005218/0.3717, allocations: 96 kB / 1.095 GB, free: 12.75 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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 {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001399/0.3718, allocations: 111.2 kB / 1.096 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008986/0.3727, allocations: 0.6005 MB / 1.096 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3727, allocations: 0 / 1.096 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.3733, allocations: 471.9 kB / 1.097 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.3738, allocations: 77.41 kB / 1.097 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3752, allocations: 0.8629 MB / 1.098 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.3756, allocations: 0.8309 MB / 1.098 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000221/0.3759, allocations: 62.92 kB / 1.098 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.3759, allocations: 23.44 kB / 1.098 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.3759, allocations: 0 / 1.098 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of Templates: time 0.00876/0.3847, allocations: 4.27 MB / 1.103 GB, free: 5.352 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)