Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001205, allocations: 108 kB / 15.61 MB, free: 128 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.00134/0.00134, allocations: 195.5 kB / 16.53 MB, free: 6.668 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.66 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3413, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003803/0.3452, allocations: 2.183 MB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3473, allocations: 1.373 MB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.3475, allocations: 7.938 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000734/0.3483, allocations: 183.6 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.3486, allocations: 131.4 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.349, allocations: 147 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.3492, allocations: 227.2 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3494, allocations: 44.64 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3495, allocations: 91.53 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3497, allocations: 95.55 kB / 1.073 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.3497, allocations: 11.94 kB / 1.073 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.3499, allocations: 63.89 kB / 1.073 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.35, allocations: 91.67 kB / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3501, allocations: 127 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.3505, allocations: 354.6 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3505, allocations: 0 / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3505, allocations: 0 / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3505, allocations: 0 / 1.073 GB, free: 5.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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009283/0.3515, allocations: 0.6802 MB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3515, allocations: 11.97 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.046e-05/0.3516, allocations: 48.38 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.352, allocations: 356.3 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3521, allocations: 4.375 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.3521, allocations: 7.938 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3523, allocations: 77.66 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3523, allocations: 0 / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3523, allocations: 0 / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3523, allocations: 0 / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3524, allocations: 39.92 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.3531, allocations: 456.5 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3533, allocations: 66.61 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.481e-05/0.3533, allocations: 32.84 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3534, allocations: 0 / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.3535, allocations: 79.5 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.3535, allocations: 7.875 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003408/0.3539, allocations: 145 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.3539, allocations: 55.34 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.3545, allocations: 0.5333 MB / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3545, allocations: 33.69 kB / 1.076 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.3547, allocations: 212 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.3547, allocations: 23.73 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.3548, allocations: 41.7 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3549, allocations: 354.8 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.355, allocations: 51.88 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.3552, allocations: 80.52 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.3553, allocations: 87.19 kB / 1.077 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3554, allocations: 4 kB / 1.077 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003189/0.3557, allocations: 197 kB / 1.077 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3557, allocations: 4 kB / 1.077 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3557, allocations: 4 kB / 1.077 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3557, allocations: 0 / 1.077 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3559, allocations: 27.92 kB / 1.077 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.3559, allocations: 8 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.356, allocations: 11.98 kB / 1.077 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.356, allocations: 4 kB / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001738/0.3562, allocations: 183.8 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.3563, allocations: 47.38 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.978e-05/0.3563, allocations: 43.8 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3564, allocations: 7.938 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3564, allocations: 4 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3564, allocations: 0 / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.3566, allocations: 297.5 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3566, allocations: 0 / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.3566, allocations: 4 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3567, allocations: 0 / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.3567, allocations: 0 / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.3567, allocations: 3.938 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3567, allocations: 0 / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.3569, allocations: 156.5 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/0.357, allocations: 116.6 kB / 1.078 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.357, allocations: 7.938 kB / 1.078 GB, free: 440 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.535e-05/0.3571, allocations: 11.92 kB / 1.078 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.3572, allocations: 15.92 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.3572, allocations: 4 kB / 1.078 GB, free: 408 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003669/0.3576, allocations: 362.8 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3576, allocations: 0 / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002656/0.3579, allocations: 43.84 kB / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009652/0.3589, allocations: 414.5 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.3591, allocations: 99.91 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3591, allocations: 0 / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.3592, allocations: 27.98 kB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.3596, allocations: 59.89 kB / 1.079 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009454/0.3605, allocations: 0.6441 MB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.3609, allocations: 0.8099 MB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.441e-05/0.361, allocations: 37.64 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.3611, allocations: 23.42 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.3611, allocations: 3.938 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of Templates: time 0.006499/0.3676, allocations: 2.879 MB / 1.083 GB, free: 11.14 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)