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.008535/0.008535, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001853/0.001853, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.644/1.644, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.67/1.67, allocations: 251.7 MB / 0.5094 GB, free: 3.066 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.001426/0.001426, allocations: 75.89 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2637, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005871/0.2697, allocations: 4.341 MB / 0.8323 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002836/0.2725, allocations: 1.859 MB / 0.8341 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.2727, allocations: 8 kB / 0.8341 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.2743, allocations: 0.5993 MB / 0.8347 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005538/0.2749, allocations: 262.5 kB / 0.8349 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.2755, allocations: 250.8 kB / 0.8352 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000629/0.2761, allocations: 0.6148 MB / 0.8358 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000717/0.2768, allocations: 478.8 kB / 0.8362 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.2771, allocations: 243.2 kB / 0.8364 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004694/0.2776, allocations: 274.9 kB / 0.8367 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.2777, allocations: 36 kB / 0.8367 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.2781, allocations: 251.5 kB / 0.837 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.2783, allocations: 155.6 kB / 0.8371 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.2785, allocations: 218.9 kB / 0.8373 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007054/0.2792, allocations: 0.6031 MB / 0.8379 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2793, allocations: 4 kB / 0.8379 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2793, allocations: 0 / 0.8379 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.2793, allocations: 0 / 0.8379 GB, free: 6.035 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.001246/0.2805, allocations: 0.7363 MB / 0.8387 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2806, allocations: 12.03 kB / 0.8387 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009548/0.2816, allocations: 152.5 kB / 0.8388 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.282, allocations: 350.6 kB / 0.8391 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.12e-05/0.2821, allocations: 25.36 kB / 0.8392 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.2822, allocations: 36.38 kB / 0.8392 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000805/0.283, allocations: 0.5317 MB / 0.8397 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.283, allocations: 0 / 0.8397 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.2831, allocations: 16 kB / 0.8397 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.997e-05/0.2831, allocations: 32.64 kB / 0.8398 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005902/0.2837, allocations: 386.3 kB / 0.8401 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.2861, allocations: 2.4 MB / 0.8425 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.2867, allocations: 262.5 kB / 0.8427 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.2869, allocations: 104.8 kB / 0.8428 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.2869, allocations: 4 kB / 0.8428 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2869, allocations: 42.55 kB / 0.8429 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.287, allocations: 0 / 0.8429 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.002213/0.2892, allocations: 1.127 MB / 0.844 GB, free: 15.39 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/0.2893, allocations: 51.41 kB / 0.844 GB, free: 15.32 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.2896, allocations: 308.4 kB / 0.8443 GB, free: 15.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.2896, allocations: 29.7 kB / 0.8443 GB, free: 14.98 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.2898, allocations: 240 kB / 0.8446 GB, free: 14.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.2899, allocations: 83.23 kB / 0.8447 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.29, allocations: 66.03 kB / 0.8447 GB, free: 14.59 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2902, allocations: 338.8 kB / 0.845 GB, free: 14.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.2903, allocations: 108.5 kB / 0.8451 GB, free: 14.14 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.2906, allocations: 191.8 kB / 0.8453 GB, free: 13.92 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.2911, allocations: 307.5 kB / 0.8456 GB, free: 13.58 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2911, allocations: 7.938 kB / 0.8456 GB, free: 13.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009138/0.292, allocations: 442 kB / 0.8461 GB, free: 13.13 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.2921, allocations: 8 kB / 0.8461 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2921, allocations: 3.938 kB / 0.8461 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004724/0.2926, allocations: 98.75 kB / 0.8462 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.2928, allocations: 63.91 kB / 0.8462 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003898/0.2967, allocations: 4.395 MB / 0.8505 GB, free: 8.133 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.297, allocations: 8.031 kB / 0.8505 GB, free: 8.125 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.297, 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.0002578/0.2973, allocations: 185.7 kB / 0.8507 GB, free: 7.926 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.2973, allocations: 39.75 kB / 0.8507 GB, free: 7.887 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.284e-05/0.2974, allocations: 38.31 kB / 0.8508 GB, free: 7.848 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2974, allocations: 4 kB / 0.8508 GB, free: 7.844 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.2975, allocations: 0 / 0.8508 GB, free: 7.844 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2975, allocations: 3.984 kB / 0.8508 GB, free: 7.84 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.298, allocations: 401.4 kB / 0.8512 GB, free: 7.398 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.298, allocations: 4 kB / 0.8512 GB, free: 7.395 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.2982, allocations: 35.92 kB / 0.8512 GB, free: 7.359 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002917/0.2985, allocations: 90.44 kB / 0.8513 GB, free: 7.262 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.2985, allocations: 4 kB / 0.8513 GB, free: 7.258 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003894/0.3024, allocations: 4.395 MB / 0.8556 GB, free: 2.438 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3025, allocations: 0 / 0.8556 GB, free: 2.438 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009098/0.3034, allocations: 0.5582 MB / 0.8561 GB, free: 1.855 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3035, allocations: 124.9 kB / 0.8563 GB, free: 1.715 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.3036, allocations: 16.05 kB / 0.8563 GB, free: 1.699 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.3038, allocations: 8 kB / 0.8563 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.3038, allocations: 19.97 kB / 0.8563 GB, free: 1.672 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.3039, allocations: 8 kB / 0.8563 GB, free: 1.664 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000202/0.3041, allocations: 207.1 kB / 0.8565 GB, free: 1.465 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3041, allocations: 0 / 0.8565 GB, free: 1.465 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004662/0.3045, allocations: 99.94 kB / 0.8566 GB, free: 1.367 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.0001383/0.3047, allocations: 107.2 kB / 0.8567 GB, free: 1.254 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000851/0.3055, allocations: 0.6171 MB / 0.8573 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3056, allocations: 0 / 0.8573 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.3061, allocations: 471.9 kB / 0.8578 GB, free: 100 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.3066, allocations: 83.66 kB / 0.8578 GB, free: 20 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.308, allocations: 0.7103 MB / 0.8585 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.3084, allocations: 0.8349 MB / 0.8593 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00017/0.3086, allocations: 58.94 kB / 0.8594 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.3087, allocations: 19.44 kB / 0.8594 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of SimCode: time 2.3e-07/0.3087, allocations: 4 kB / 0.8594 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of Templates: time 0.008673/0.3174, allocations: 4.506 MB / 0.8638 GB, free: 9.879 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)