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.001347/0.001347, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 197 kB / 16.53 MB, free: 6.664 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.615/1.615, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.644/1.644, allocations: 251.7 MB / 0.5092 GB, free: 3.137 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.002594/0.002594, allocations: 67.91 kB / 0.6223 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5577/0.5603, allocations: 104.7 MB / 0.7245 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005924/0.5662, allocations: 4.338 MB / 0.7287 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003126/0.5694, allocations: 1.874 MB / 0.7306 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.5697, allocations: 11.94 kB / 0.7306 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.5714, allocations: 0.5875 MB / 0.7312 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006851/0.5721, allocations: 258.6 kB / 0.7314 GB, free: 6.012 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008378/0.5729, allocations: 257.1 kB / 0.7317 GB, free: 5.762 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006954/0.5736, allocations: 0.5996 MB / 0.7322 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007112/0.5744, allocations: 472.9 kB / 0.7327 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.5747, allocations: 251.1 kB / 0.7329 GB, free: 4.453 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.5751, allocations: 274.9 kB / 0.7332 GB, free: 4.184 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.151e-05/0.5752, allocations: 36 kB / 0.7332 GB, free: 4.148 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004856/0.5757, allocations: 259.4 kB / 0.7335 GB, free: 3.895 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.5759, allocations: 143.7 kB / 0.7336 GB, free: 3.754 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.5761, allocations: 222.9 kB / 0.7338 GB, free: 3.535 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007168/0.5768, allocations: 0.5958 MB / 0.7344 GB, free: 2.938 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5768, allocations: 4 kB / 0.7344 GB, free: 2.934 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5768, allocations: 0 / 0.7344 GB, free: 2.934 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.5769, allocations: 0 / 0.7344 GB, free: 2.934 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.001327/0.5782, allocations: 0.7213 MB / 0.7351 GB, free: 2.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.5782, allocations: 8.031 kB / 0.7351 GB, free: 2.152 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009818/0.5792, allocations: 156.3 kB / 0.7353 GB, free: 2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.5797, allocations: 326.5 kB / 0.7356 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.5797, allocations: 21.38 kB / 0.7356 GB, free: 1.621 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.5798, allocations: 40.31 kB / 0.7356 GB, free: 1.582 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008198/0.5806, allocations: 0.5356 MB / 0.7362 GB, free: 1.012 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.5807, allocations: 3.938 kB / 0.7362 GB, free: 1.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.5807, allocations: 12 kB / 0.7362 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-05/0.5808, allocations: 32.64 kB / 0.7362 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00057/0.5814, allocations: 390.2 kB / 0.7366 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.584, allocations: 2.403 MB / 0.7389 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.5845, allocations: 270.4 kB / 0.7392 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.5847, allocations: 116.8 kB / 0.7393 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.5847, allocations: 4 kB / 0.7393 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.5848, allocations: 34.55 kB / 0.7393 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 2.114e-06/0.5848, allocations: 4 kB / 0.7393 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002249/0.587, allocations: 1.123 MB / 0.7404 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.5871, allocations: 55.34 kB / 0.7405 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.5874, allocations: 304.4 kB / 0.7408 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.5874, allocations: 37.7 kB / 0.7408 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.5876, allocations: 227.6 kB / 0.741 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/0.5877, allocations: 78.86 kB / 0.7411 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.5878, allocations: 61.94 kB / 0.7412 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5879, allocations: 338.8 kB / 0.7415 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.5881, allocations: 104.6 kB / 0.7416 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.5884, allocations: 191.6 kB / 0.7418 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.5888, allocations: 313.6 kB / 0.7421 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5888, allocations: 8 kB / 0.7421 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007368/0.5895, allocations: 446 kB / 0.7425 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.5896, allocations: 12.03 kB / 0.7425 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5896, allocations: 0 / 0.7425 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003963/0.59, allocations: 94.5 kB / 0.7426 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.5903, allocations: 67.91 kB / 0.7427 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003275/0.5936, allocations: 4.391 MB / 0.747 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.5938, allocations: 8 kB / 0.747 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.5939, allocations: 16 kB / 0.747 GB, free: 5.023 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.0002163/0.5941, allocations: 177.8 kB / 0.7472 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.5941, allocations: 35.56 kB / 0.7472 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.866e-05/0.5942, allocations: 38.31 kB / 0.7472 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.5942, allocations: 4 kB / 0.7472 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.5942, allocations: 0 / 0.7472 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5943, allocations: 3.984 kB / 0.7472 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.5947, allocations: 397.4 kB / 0.7476 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5947, allocations: 3.938 kB / 0.7476 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.5949, allocations: 43.86 kB / 0.7477 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002948/0.5953, allocations: 98.53 kB / 0.7477 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.5953, allocations: 4 kB / 0.7478 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003084/0.5984, allocations: 4.379 MB / 0.752 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5984, allocations: 0 / 0.752 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.5992, allocations: 0.5628 MB / 0.7526 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.5993, allocations: 120.8 kB / 0.7527 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.5994, allocations: 8 kB / 0.7527 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.5996, allocations: 11.98 kB / 0.7527 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.5997, allocations: 20.03 kB / 0.7527 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.5997, allocations: 8 kB / 0.7527 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002091/0.5999, allocations: 207.1 kB / 0.7529 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5999, allocations: 0 / 0.7529 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004925/0.6004, allocations: 103.9 kB / 0.753 GB, free: 14.3 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.0001328/0.6005, allocations: 107.8 kB / 0.7531 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008338/0.6014, allocations: 0.6247 MB / 0.7537 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6014, allocations: 3.938 kB / 0.7538 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.6019, allocations: 472.6 kB / 0.7542 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.6023, allocations: 79.34 kB / 0.7543 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.6035, allocations: 0.7265 MB / 0.755 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.6039, allocations: 0.8349 MB / 0.7558 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001922/0.6041, allocations: 58.92 kB / 0.7559 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.6042, allocations: 23.44 kB / 0.7559 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of SimCode: time 2.244e-06/0.6042, allocations: 0 / 0.7559 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.00923/0.6134, allocations: 4.435 MB / 0.7602 GB, free: 6.848 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)