Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007988/0.0007988, allocations: 91.45 kB / 15.36 MB, free: 0.7344 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.005359/0.005359, allocations: 170.4 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004395, allocations: 7.875 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3354, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003017/0.3385, allocations: 1.594 MB / 1.076 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004827/0.3434, allocations: 3.521 MB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.764e-05/0.3435, allocations: 4 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007766/0.3443, allocations: 175.6 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.3444, allocations: 71.59 kB / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.258e-05/0.3445, allocations: 19.97 kB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005053/0.345, allocations: 295 kB / 1.08 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3452, allocations: 33.48 kB / 1.08 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3453, allocations: 59.72 kB / 1.08 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.3455, allocations: 75.67 kB / 1.08 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3455, allocations: 7.938 kB / 1.08 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-05/0.3456, allocations: 23.98 kB / 1.08 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.3457, allocations: 51.8 kB / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3458, allocations: 113.1 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.346, allocations: 183.3 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.346, allocations: 3.938 kB / 1.08 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.346, allocations: 0 / 1.08 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3461, allocations: 0 / 1.08 GB, free: 1.316 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009038/0.347, allocations: 0.5062 MB / 1.081 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.347, allocations: 12.02 kB / 1.081 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.3471, allocations: 24.66 kB / 1.081 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.3475, allocations: 247.5 kB / 1.081 GB, free: 456 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.3475, allocations: 4.375 kB / 1.081 GB, free: 452 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.3475, allocations: 8.359 kB / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.3479, allocations: 161.6 kB / 1.081 GB, free: 276 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3479, allocations: 4 kB / 1.081 GB, free: 272 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.348, allocations: 0 / 1.081 GB, free: 272 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/0.348, allocations: 12 kB / 1.081 GB, free: 260 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.3485, allocations: 155.9 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000799/0.3493, allocations: 472.5 kB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.3498, allocations: 186.4 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.3501, allocations: 112.8 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3501, allocations: 8 kB / 1.082 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3501, allocations: 30.56 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.3501, allocations: 0 / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0008995/0.351, allocations: 317.4 kB / 1.082 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3511, allocations: 59.34 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.3514, allocations: 242.7 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.3514, allocations: 25.7 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.3515, allocations: 144 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.3516, allocations: 39.39 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3516, allocations: 17.72 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3517, allocations: 334.8 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.352, allocations: 83.94 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.3522, allocations: 84.19 kB / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.3527, allocations: 188.2 kB / 1.084 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3528, allocations: 4 kB / 1.084 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005616/0.3533, allocations: 233.3 kB / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3533, allocations: 4 kB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3534, allocations: 3.938 kB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3534, allocations: 11.92 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.3536, allocations: 31.97 kB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3536, allocations: 4 kB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.3538, allocations: 31.88 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.3538, allocations: 0 / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001881/0.354, allocations: 137.8 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.3541, allocations: 19.81 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.3542, allocations: 29.83 kB / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3542, allocations: 4 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3542, allocations: 0 / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.3542, allocations: 7.984 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.3545, allocations: 277.3 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3545, allocations: 3.938 kB / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.3547, allocations: 39.91 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3547, allocations: 0 / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.3548, allocations: 11.98 kB / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3548, allocations: 0 / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3548, allocations: 0 / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.3554, allocations: 339.1 kB / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.3555, allocations: 112.8 kB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.3556, allocations: 4 kB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.3558, allocations: 19.92 kB / 1.085 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.3559, allocations: 11.98 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.3559, allocations: 8 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001606/0.3561, allocations: 182 kB / 1.085 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3561, allocations: 0 / 1.085 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002815/0.3563, allocations: 39.94 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.3565, allocations: 111.2 kB / 1.085 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005631/0.3571, allocations: 191.8 kB / 1.085 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3571, allocations: 0 / 1.085 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.3574, allocations: 107.5 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.3579, allocations: 44.52 kB / 1.085 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008625/0.3587, allocations: 0.5506 MB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3591, allocations: 0.7438 MB / 1.087 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001846/0.3593, allocations: 57.3 kB / 1.087 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.3593, allocations: 19.44 kB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.3593, allocations: 0 / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of Templates: time 0.005365/0.3647, allocations: 2.269 MB / 1.089 GB, free: 7.945 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)