Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00144/0.00144, allocations: 193.5 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.562/1.562, allocations: 251.6 MB / 0.5088 GB, free: 3.328 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.47 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5516/0.5529, allocations: 104.7 MB / 0.7238 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00655/0.5595, allocations: 4.377 MB / 0.7281 GB, free: 9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004005/0.5636, allocations: 1.882 MB / 0.7299 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003047/0.5639, allocations: 4 kB / 0.7299 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.5655, allocations: 0.5554 MB / 0.7305 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005484/0.5661, allocations: 246.9 kB / 0.7307 GB, free: 6.305 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.5667, allocations: 235.5 kB / 0.7309 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007607/0.5675, allocations: 0.8374 MB / 0.7317 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005682/0.5681, allocations: 310.9 kB / 0.732 GB, free: 4.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.5684, allocations: 211.2 kB / 0.7322 GB, free: 4.723 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005369/0.5689, allocations: 283 kB / 0.7325 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.569, allocations: 28 kB / 0.7325 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.5696, allocations: 315.3 kB / 0.7328 GB, free: 4.109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.5698, allocations: 139.6 kB / 0.733 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.5701, allocations: 199 kB / 0.7332 GB, free: 3.777 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006558/0.5707, allocations: 0.6172 MB / 0.7338 GB, free: 3.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5707, allocations: 3.938 kB / 0.7338 GB, free: 3.156 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5707, allocations: 4 kB / 0.7338 GB, free: 3.152 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.5708, allocations: 0 / 0.7338 GB, free: 3.152 MB / 0.545 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.001293/0.5721, allocations: 0.7175 MB / 0.7345 GB, free: 2.383 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5721, allocations: 8.031 kB / 0.7345 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009629/0.5731, allocations: 144.3 kB / 0.7346 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.5735, allocations: 338.4 kB / 0.7349 GB, free: 1.863 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.5735, allocations: 25.31 kB / 0.735 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/0.5736, allocations: 40.3 kB / 0.735 GB, free: 1.801 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007719/0.5744, allocations: 0.5356 MB / 0.7355 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.5744, allocations: 4 kB / 0.7355 GB, free: 1.223 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.5745, allocations: 12 kB / 0.7355 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-05/0.5745, allocations: 32.64 kB / 0.7356 GB, free: 1.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.5751, allocations: 386.3 kB / 0.7359 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/0.5777, allocations: 2.399 MB / 0.7383 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.5782, allocations: 266.4 kB / 0.7385 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.5784, allocations: 112.8 kB / 0.7386 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.5784, allocations: 4 kB / 0.7386 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.5784, allocations: 30.56 kB / 0.7387 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.5784, allocations: 0 / 0.7387 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.00218/0.5806, allocations: 1.131 MB / 0.7398 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.5807, allocations: 51.41 kB / 0.7398 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.581, allocations: 308.3 kB / 0.7401 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.581, allocations: 29.7 kB / 0.7401 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.5811, allocations: 223.7 kB / 0.7404 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/0.5812, allocations: 86.83 kB / 0.7404 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.5813, allocations: 61.94 kB / 0.7405 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5815, allocations: 342.8 kB / 0.7408 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.5816, allocations: 100.6 kB / 0.7409 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.5819, allocations: 199.7 kB / 0.7411 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.5823, allocations: 312.9 kB / 0.7414 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5823, allocations: 0 / 0.7414 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000702/0.583, allocations: 449.8 kB / 0.7418 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5831, allocations: 4 kB / 0.7418 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5831, allocations: 4 kB / 0.7418 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.5835, allocations: 98.62 kB / 0.7419 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.5837, allocations: 63.91 kB / 0.742 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003561/0.5873, allocations: 4.064 MB / 0.746 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.5875, allocations: 20.02 kB / 0.746 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.5876, allocations: 15.94 kB / 0.746 GB, free: 5.598 MB / 0.5606 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.0002089/0.5878, allocations: 186.2 kB / 0.7462 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.5879, allocations: 27.72 kB / 0.7462 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/0.5879, allocations: 42.31 kB / 0.7462 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5879, allocations: 4 kB / 0.7463 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5879, allocations: 4.062 kB / 0.7463 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.588, allocations: 0 / 0.7463 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.5884, allocations: 401.3 kB / 0.7466 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5884, allocations: 0 / 0.7466 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.5886, allocations: 35.97 kB / 0.7467 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002952/0.5889, allocations: 90.5 kB / 0.7468 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.589, allocations: 4 kB / 0.7468 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/0.5919, allocations: 4.083 MB / 0.7508 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5919, allocations: 0 / 0.7508 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007877/0.5927, allocations: 0.5504 MB / 0.7513 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.5928, allocations: 128.7 kB / 0.7514 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.5929, allocations: 4 kB / 0.7514 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.5931, allocations: 15.98 kB / 0.7514 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.5931, allocations: 16.05 kB / 0.7514 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.5931, allocations: 11.94 kB / 0.7515 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001975/0.5933, allocations: 211.1 kB / 0.7517 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5934, allocations: 0 / 0.7517 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004534/0.5938, allocations: 96 kB / 0.7518 GB, free: 15.2 MB / 0.5762 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.0001307/0.5939, allocations: 107.2 kB / 0.7519 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008116/0.5948, allocations: 0.6011 MB / 0.7524 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.5948, allocations: 4.672 kB / 0.7524 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004729/0.5953, allocations: 468 kB / 0.7529 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.5958, allocations: 77.09 kB / 0.753 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.5969, allocations: 0.8616 MB / 0.7538 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.5974, allocations: 0.8309 MB / 0.7546 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001982/0.5976, allocations: 62.94 kB / 0.7547 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/0.5976, allocations: 23.44 kB / 0.7547 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.5976, allocations: 0 / 0.7547 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of Templates: time 0.007827/0.6055, allocations: 4.281 MB / 0.7589 GB, free: 7.805 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)