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.007666/0.007666, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001669/0.00167, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.565/1.565, allocations: 205.1 MB / 222.5 MB, free: 4.359 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.581/1.581, allocations: 251.7 MB / 0.5094 GB, free: 2.938 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.001488/0.001488, allocations: 69.92 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2437, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006557/0.2503, allocations: 4.324 MB / 0.8323 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.2535, allocations: 1.863 MB / 0.8341 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.2538, allocations: 11.94 kB / 0.8341 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.2555, allocations: 0.5876 MB / 0.8347 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006243/0.2561, allocations: 270.6 kB / 0.8349 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006953/0.2568, allocations: 247.4 kB / 0.8352 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000649/0.2575, allocations: 0.6187 MB / 0.8358 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007336/0.2582, allocations: 470.8 kB / 0.8362 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.2585, allocations: 251.1 kB / 0.8364 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.259, allocations: 274.9 kB / 0.8367 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.259, allocations: 40 kB / 0.8367 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004354/0.2595, allocations: 259.4 kB / 0.837 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.2596, allocations: 143.7 kB / 0.8371 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.2599, allocations: 218.9 kB / 0.8373 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007047/0.2606, allocations: 0.6074 MB / 0.8379 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.2606, allocations: 0 / 0.8379 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2606, allocations: 0 / 0.8379 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.2606, allocations: 0 / 0.8379 GB, free: 6.012 MB / 0.6544 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.262, allocations: 0.733 MB / 0.8386 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.262, allocations: 8.031 kB / 0.8387 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.263, allocations: 144.3 kB / 0.8388 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.2635, allocations: 338.4 kB / 0.8391 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.2636, allocations: 29.38 kB / 0.8391 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.2637, allocations: 32.36 kB / 0.8392 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008976/0.2646, allocations: 0.5318 MB / 0.8397 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.2646, allocations: 7.938 kB / 0.8397 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.2647, allocations: 19.98 kB / 0.8397 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-05/0.2647, allocations: 32.62 kB / 0.8397 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006173/0.2654, allocations: 386.3 kB / 0.8401 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.2679, allocations: 2.399 MB / 0.8425 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.2685, allocations: 266.3 kB / 0.8427 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.2686, allocations: 108.8 kB / 0.8428 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2687, allocations: 4 kB / 0.8428 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.2687, allocations: 38.56 kB / 0.8429 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.854e-06/0.2687, allocations: 0 / 0.8429 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.002244/0.271, allocations: 1.117 MB / 0.844 GB, free: 15.39 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.271, allocations: 59.41 kB / 0.844 GB, free: 15.32 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.2714, allocations: 308.3 kB / 0.8443 GB, free: 15.01 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.2715, allocations: 29.7 kB / 0.8443 GB, free: 14.98 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.2717, allocations: 231.6 kB / 0.8446 GB, free: 14.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.252e-05/0.2718, allocations: 82.83 kB / 0.8446 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.2719, allocations: 61.94 kB / 0.8447 GB, free: 14.59 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.2721, allocations: 338.8 kB / 0.845 GB, free: 14.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.2723, allocations: 108.5 kB / 0.8451 GB, free: 14.15 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.2726, allocations: 183.8 kB / 0.8453 GB, free: 13.93 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/0.273, allocations: 323.4 kB / 0.8456 GB, free: 13.58 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.273, allocations: 0 / 0.8456 GB, free: 13.58 MB / 0.67 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007853/0.2738, allocations: 441.9 kB / 0.846 GB, free: 13.13 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.2739, allocations: 4 kB / 0.846 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.2739, allocations: 4 kB / 0.846 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003972/0.2743, allocations: 102.7 kB / 0.8461 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.2746, allocations: 59.91 kB / 0.8462 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003687/0.2783, allocations: 4.399 MB / 0.8505 GB, free: 8.137 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.2785, allocations: 12 kB / 0.8505 GB, free: 8.125 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.2785, allocations: 12 kB / 0.8505 GB, free: 8.113 MB / 0.67 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.0002114/0.2788, allocations: 178.4 kB / 0.8507 GB, free: 7.93 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.2788, allocations: 39.66 kB / 0.8507 GB, free: 7.891 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.2789, allocations: 42.31 kB / 0.8507 GB, free: 7.848 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2789, allocations: 0 / 0.8507 GB, free: 7.848 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2789, allocations: 4 kB / 0.8508 GB, free: 7.844 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2789, allocations: 0 / 0.8508 GB, free: 7.844 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.2794, allocations: 397.4 kB / 0.8511 GB, free: 7.406 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2794, allocations: 0 / 0.8511 GB, free: 7.406 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.2796, allocations: 39.86 kB / 0.8512 GB, free: 7.367 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002925/0.2799, allocations: 94.48 kB / 0.8513 GB, free: 7.266 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.2799, allocations: 4 kB / 0.8513 GB, free: 7.262 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003141/0.2831, allocations: 4.383 MB / 0.8555 GB, free: 2.453 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2831, allocations: 0 / 0.8555 GB, free: 2.453 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000784/0.2839, allocations: 0.5605 MB / 0.8561 GB, free: 1.871 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.284, allocations: 132.7 kB / 0.8562 GB, free: 1.723 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.2841, allocations: 3.938 kB / 0.8562 GB, free: 1.719 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.2843, allocations: 12 kB / 0.8562 GB, free: 1.707 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.2843, allocations: 24.03 kB / 0.8563 GB, free: 1.684 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.2843, allocations: 4 kB / 0.8563 GB, free: 1.68 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002378/0.2846, allocations: 215.1 kB / 0.8565 GB, free: 1.473 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2846, allocations: 0 / 0.8565 GB, free: 1.473 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004681/0.2851, allocations: 99.94 kB / 0.8566 GB, free: 1.375 MB / 0.67 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.0001533/0.2852, allocations: 103.2 kB / 0.8567 GB, free: 1.266 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009286/0.2862, allocations: 0.6052 MB / 0.8573 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2862, allocations: 0 / 0.8573 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005166/0.2867, allocations: 476.6 kB / 0.8577 GB, free: 120 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.2872, allocations: 74.23 kB / 0.8578 GB, free: 48 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.2886, allocations: 0.7013 MB / 0.8585 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.2891, allocations: 0.8349 MB / 0.8593 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.2893, allocations: 66.91 kB / 0.8593 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.2893, allocations: 19.44 kB / 0.8594 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/0.2893, allocations: 4 kB / 0.8594 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of Templates: time 0.01058/0.2999, allocations: 4.503 MB / 0.8638 GB, free: 9.91 MB / 0.6856 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)