Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.196/2.196, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 193.5 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 0.7948 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 109.8 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 52.03 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2869, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003632/0.2905, allocations: 2.507 MB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.2926, allocations: 1.558 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.2928, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009114/0.2937, allocations: 315.4 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.2941, allocations: 195.3 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.2947, allocations: 247.1 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.295, allocations: 374.8 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.2952, allocations: 66.83 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.2953, allocations: 147.3 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.2955, allocations: 163.2 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.2956, allocations: 8 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.2957, allocations: 63.91 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.2958, allocations: 123.6 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.296, allocations: 182.5 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.2963, allocations: 482.1 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2964, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.82e-07/0.2964, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2964, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00107/0.2974, allocations: 0.8335 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2975, allocations: 11.98 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.281e-05/0.2976, allocations: 60.19 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.298, allocations: 428.9 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.2981, allocations: 19.92 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.2981, allocations: 15.98 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.2984, allocations: 135.3 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2984, allocations: 0 / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.2984, allocations: 8 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2984, allocations: 7.875 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.2986, allocations: 63.97 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.2994, allocations: 0.5784 MB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.2996, allocations: 130.7 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.2997, allocations: 40.84 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.2998, allocations: 7.938 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.3, allocations: 115 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.3, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0004247/0.3004, allocations: 236.9 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.3005, allocations: 85.11 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.301, allocations: 0.6837 MB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.301, allocations: 33.7 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3012, allocations: 260.4 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.3012, allocations: 39.53 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/0.3013, allocations: 57.61 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.3014, allocations: 370.8 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.3015, allocations: 75.97 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.3017, allocations: 118.9 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.3019, allocations: 137.5 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3019, allocations: 7.938 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003399/0.3022, allocations: 264.9 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3022, allocations: 4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3022, allocations: 0 / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.3023, allocations: 7.984 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.3024, allocations: 35.92 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3024, allocations: 0 / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.3026, allocations: 23.83 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.3026, allocations: 12.06 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001621/0.3028, allocations: 216.1 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.3028, allocations: 59.19 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.3029, allocations: 57.05 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3029, allocations: 4 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.303, allocations: 0 / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.303, allocations: 4.031 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.3032, allocations: 361.4 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3032, allocations: 11.86 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.3033, allocations: 12 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3033, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3033, allocations: 4 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3033, allocations: 7.938 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3033, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.3039, allocations: 0.9234 MB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.661e-05/0.304, allocations: 136.3 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.304, allocations: 4 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3041, allocations: 11.98 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.3042, allocations: 19.97 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3042, allocations: 4 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00037/0.3046, allocations: 471 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3046, allocations: 0 / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003709/0.305, allocations: 67.94 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009452/0.3059, allocations: 426 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.3063, allocations: 161.8 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3063, allocations: 0 / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3064, allocations: 56.66 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.3069, allocations: 92.64 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.308, allocations: 1.095 MB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.3083, allocations: 0.8652 MB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.3084, allocations: 54.92 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.3085, allocations: 31.42 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of SimCode: time 4.91e-07/0.3085, allocations: 0 / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of Templates: time 0.007538/0.3161, allocations: 4.218 MB / 1.238 GB, free: 96.34 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)