Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001157/0.001157, allocations: 105.4 kB / 15.7 MB, free: 24 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.001132/0.001132, allocations: 196 kB / 16.64 MB, free: 6.453 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.467/1.467, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.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.001403/0.001403, allocations: 67.31 kB / 0.6723 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2268, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006127/0.233, allocations: 4.335 MB / 0.7884 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002971/0.236, allocations: 1.847 MB / 0.7902 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.2362, allocations: 11.94 kB / 0.7902 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.2378, allocations: 0.6063 MB / 0.7908 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005942/0.2384, allocations: 262.6 kB / 0.791 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.2391, allocations: 251.4 kB / 0.7913 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006745/0.2398, allocations: 0.6035 MB / 0.7919 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006911/0.2405, allocations: 470.8 kB / 0.7923 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.2408, allocations: 243.2 kB / 0.7925 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004963/0.2413, allocations: 271 kB / 0.7928 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.2414, allocations: 36 kB / 0.7928 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.2418, allocations: 255.4 kB / 0.7931 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.242, allocations: 151.6 kB / 0.7932 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.2422, allocations: 222.9 kB / 0.7934 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007062/0.2429, allocations: 0.6036 MB / 0.794 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2429, allocations: 0 / 0.794 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2429, allocations: 0 / 0.794 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.2429, allocations: 0 / 0.794 GB, free: 2.574 MB / 0.6075 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.001298/0.2442, allocations: 0.7252 MB / 0.7947 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2443, allocations: 12.03 kB / 0.7947 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009395/0.2452, allocations: 148.2 kB / 0.7949 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.2458, allocations: 342.5 kB / 0.7952 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.2458, allocations: 25.38 kB / 0.7952 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.2459, allocations: 32.38 kB / 0.7953 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/0.2467, allocations: 0.5317 MB / 0.7958 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2467, allocations: 7.875 kB / 0.7958 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.2468, allocations: 16 kB / 0.7958 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/0.2468, allocations: 36.58 kB / 0.7958 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005841/0.2474, allocations: 386.3 kB / 0.7962 GB, free: 212 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.2501, allocations: 2.399 MB / 0.7985 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.2507, allocations: 258.5 kB / 0.7988 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.2508, allocations: 108.8 kB / 0.7989 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.2509, allocations: 0 / 0.7989 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.2509, allocations: 38.56 kB / 0.7989 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 2.865e-06/0.2509, allocations: 0 / 0.7989 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.002287/0.2532, allocations: 1.135 MB / 0.8 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.2532, allocations: 55.41 kB / 0.8001 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.2536, allocations: 308.4 kB / 0.8004 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.2536, allocations: 29.7 kB / 0.8004 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.2538, allocations: 227.6 kB / 0.8006 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.175e-05/0.2539, allocations: 78.81 kB / 0.8007 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.254, allocations: 62.03 kB / 0.8008 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2541, allocations: 342.8 kB / 0.8011 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.2543, allocations: 100.6 kB / 0.8012 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.2545, allocations: 195.7 kB / 0.8014 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.2549, allocations: 313.6 kB / 0.8017 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2549, allocations: 0 / 0.8017 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000764/0.2557, allocations: 450.8 kB / 0.8021 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2557, allocations: 4.344 kB / 0.8021 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2558, allocations: 8 kB / 0.8021 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.2561, allocations: 90.5 kB / 0.8022 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.2564, allocations: 63.91 kB / 0.8023 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/0.2599, allocations: 4.399 MB / 0.8066 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.2602, allocations: 16.06 kB / 0.8066 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.2602, allocations: 8 kB / 0.8066 GB, free: 4.668 MB / 0.6231 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.0002189/0.2604, allocations: 181.7 kB / 0.8068 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.2605, allocations: 39.56 kB / 0.8068 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.2606, allocations: 34.31 kB / 0.8068 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2606, allocations: 4 kB / 0.8068 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.2606, allocations: 8 kB / 0.8068 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2606, allocations: 3.984 kB / 0.8068 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.261, allocations: 393.4 kB / 0.8072 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2611, allocations: 0 / 0.8072 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.2612, allocations: 39.84 kB / 0.8073 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/0.2615, allocations: 94.5 kB / 0.8073 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.2616, allocations: 4 kB / 0.8073 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002999/0.2646, allocations: 4.395 MB / 0.8116 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2646, allocations: 3.938 kB / 0.8116 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007774/0.2654, allocations: 0.5544 MB / 0.8122 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.2655, allocations: 128.7 kB / 0.8123 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.2656, allocations: 0 / 0.8123 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.2658, allocations: 15.98 kB / 0.8123 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.2658, allocations: 15.98 kB / 0.8123 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.2658, allocations: 4 kB / 0.8123 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002169/0.2661, allocations: 215.1 kB / 0.8125 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2661, allocations: 4.062 kB / 0.8126 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004836/0.2666, allocations: 95.94 kB / 0.8126 GB, free: 13.93 MB / 0.6387 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.0001765/0.2668, allocations: 107.8 kB / 0.8127 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009063/0.2677, allocations: 0.6097 MB / 0.8133 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.2677, allocations: 0 / 0.8133 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.2682, allocations: 476.2 kB / 0.8138 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.2687, allocations: 84.12 kB / 0.8139 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.27, allocations: 0.7074 MB / 0.8146 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.2704, allocations: 0.8272 MB / 0.8154 GB, free: 11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001904/0.2706, allocations: 58.94 kB / 0.8154 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.2707, allocations: 23.44 kB / 0.8155 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.2707, allocations: 0 / 0.8155 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of Templates: time 0.008713/0.2794, allocations: 4.436 MB / 0.8198 GB, free: 6.531 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)