Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.3 MB / 308.1 MB, free: 4.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 188.5 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.1 MB / 0.6354 GB, free: 9.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 99.47 kB / 0.748 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001327, allocations: 59.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2775, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.005039/0.2826, allocations: 2.505 MB / 0.9847 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002896/0.2855, allocations: 1.465 MB / 0.9861 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004062/0.2859, allocations: 3.938 kB / 0.9861 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.2872, allocations: 315.4 kB / 0.9864 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006884/0.2879, allocations: 199.3 kB / 0.9866 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008076/0.2887, allocations: 215.6 kB / 0.9868 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006272/0.2894, allocations: 382.7 kB / 0.9872 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.2896, allocations: 64.92 kB / 0.9872 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.2899, allocations: 147.2 kB / 0.9874 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.2903, allocations: 159.3 kB / 0.9875 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.339e-05/0.2903, allocations: 16 kB / 0.9875 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.2906, allocations: 63.91 kB / 0.9876 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.2908, allocations: 127.5 kB / 0.9877 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.291, allocations: 182.5 kB / 0.9879 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006158/0.2916, allocations: 482.2 kB / 0.9884 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2916, allocations: 0 / 0.9884 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2916, allocations: 0 / 0.9884 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.2917, allocations: 0 / 0.9884 GB, free: 4.09 MB / 0.7136 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.001344/0.293, allocations: 0.8374 MB / 0.9892 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2931, allocations: 16.02 kB / 0.9892 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.2932, allocations: 60.19 kB / 0.9892 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005727/0.2938, allocations: 428.8 kB / 0.9897 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.2938, allocations: 11.94 kB / 0.9897 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.2938, allocations: 15.94 kB / 0.9897 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.2941, allocations: 138.1 kB / 0.9898 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2941, allocations: 4 kB / 0.9898 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.2942, allocations: 4 kB / 0.9898 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.2942, allocations: 7.938 kB / 0.9898 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.2944, allocations: 71.95 kB / 0.9899 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008618/0.2952, allocations: 0.5706 MB / 0.9905 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.2955, allocations: 122.7 kB / 0.9906 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.2957, allocations: 52.81 kB / 0.9906 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.2957, allocations: 0 / 0.9906 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.2959, allocations: 115.2 kB / 0.9907 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.296, allocations: 0 / 0.9907 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0004872/0.2965, allocations: 241 kB / 0.991 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.2965, allocations: 77.11 kB / 0.991 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007143/0.2972, allocations: 0.6837 MB / 0.9917 GB, free: 456 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.2973, allocations: 29.7 kB / 0.9917 GB, free: 420 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.2975, allocations: 264.4 kB / 0.992 GB, free: 152 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.2975, allocations: 43.53 kB / 0.992 GB, free: 108 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/0.2976, allocations: 57.59 kB / 0.9921 GB, free: 44 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2978, allocations: 370.7 kB / 0.9924 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.298, allocations: 71.97 kB / 0.9925 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.2981, allocations: 117.1 kB / 0.9926 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.2984, allocations: 142.4 kB / 0.9927 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2984, allocations: 3.938 kB / 0.9928 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004206/0.2988, allocations: 271.7 kB / 0.993 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2989, allocations: 4 kB / 0.993 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2989, allocations: 4 kB / 0.993 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2989, allocations: 4.062 kB / 0.993 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.2991, allocations: 35.92 kB / 0.9931 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2991, allocations: 0 / 0.9931 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.2992, allocations: 23.89 kB / 0.9931 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.2993, allocations: 4 kB / 0.9931 GB, free: 14.97 MB / 0.7292 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.0002074/0.2995, allocations: 211.5 kB / 0.9933 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.2996, allocations: 59.19 kB / 0.9933 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.638e-05/0.2997, allocations: 69.03 kB / 0.9934 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2997, allocations: 0 / 0.9934 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.2997, allocations: 4 kB / 0.9934 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2997, allocations: 0 / 0.9934 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.3001, allocations: 365.4 kB / 0.9938 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3001, allocations: 3.938 kB / 0.9938 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.3001, allocations: 12 kB / 0.9938 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3002, allocations: 0 / 0.9938 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.3002, allocations: 7.984 kB / 0.9938 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3002, allocations: 0 / 0.9938 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3002, allocations: 3.984 kB / 0.9938 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/0.301, allocations: 0.9316 MB / 0.9947 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.3011, allocations: 120.5 kB / 0.9948 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.3012, allocations: 8 kB / 0.9948 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3013, allocations: 7.984 kB / 0.9948 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.3014, allocations: 23.97 kB / 0.9948 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3014, allocations: 4 kB / 0.9949 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004819/0.3019, allocations: 475 kB / 0.9953 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3019, allocations: 0 / 0.9953 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004017/0.3023, allocations: 71.86 kB / 0.9954 GB, free: 12.48 MB / 0.7292 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.0009713/0.3033, allocations: 436 kB / 0.9958 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.3036, allocations: 151.9 kB / 0.9959 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3036, allocations: 0 / 0.9959 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.3038, allocations: 55.92 kB / 0.996 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.3043, allocations: 88.09 kB / 0.9961 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3057, allocations: 1.099 MB / 0.9971 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.3061, allocations: 0.8652 MB / 0.998 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.3063, allocations: 46.95 kB / 0.998 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.3063, allocations: 27.42 kB / 0.9981 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.3064, allocations: 0 / 0.9981 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of Templates: time 0.008892/0.3153, allocations: 4.23 MB / 1.002 GB, free: 5.566 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)