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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001819/0.001819, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.715/1.715, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.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.001528/0.001528, allocations: 70.14 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2682, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.005141/0.2734, allocations: 2.509 MB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.2761, allocations: 1.473 MB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/0.2766, allocations: 0 / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.2777, allocations: 311.4 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005918/0.2783, allocations: 199.3 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007218/0.279, allocations: 215 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006414/0.2797, allocations: 398.7 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.2799, allocations: 68.94 kB / 0.7879 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.2803, allocations: 159.3 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.2806, allocations: 175.2 kB / 0.7882 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.315e-05/0.2807, allocations: 20 kB / 0.7882 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.2809, allocations: 75.95 kB / 0.7883 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.2811, allocations: 131.5 kB / 0.7884 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.2813, allocations: 186.6 kB / 0.7886 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000707/0.2821, allocations: 0.4904 MB / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2821, allocations: 0 / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2821, allocations: 0 / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.865e-05/0.2821, allocations: 0 / 0.7891 GB, free: 7.496 MB / 0.6075 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.001735/0.2839, allocations: 0.8374 MB / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2839, allocations: 8.031 kB / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.2841, allocations: 60.19 kB / 0.79 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/0.2847, allocations: 432.9 kB / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.2847, allocations: 15.94 kB / 0.7904 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.2847, allocations: 4 kB / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.2851, allocations: 140.1 kB / 0.7905 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2851, allocations: 0 / 0.7905 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.2851, allocations: 4 kB / 0.7905 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.2851, allocations: 11.94 kB / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.2853, allocations: 63.97 kB / 0.7906 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009658/0.2863, allocations: 0.5822 MB / 0.7912 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.2866, allocations: 126.7 kB / 0.7913 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.2867, allocations: 56.72 kB / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.2868, allocations: 0 / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.287, allocations: 115.3 kB / 0.7915 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.287, allocations: 0 / 0.7915 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005845/0.2876, allocations: 239.6 kB / 0.7917 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.2877, allocations: 85.09 kB / 0.7918 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000873/0.2886, allocations: 0.6798 MB / 0.7924 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.2886, allocations: 29.7 kB / 0.7925 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.2888, allocations: 264.3 kB / 0.7927 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.2889, allocations: 43.53 kB / 0.7928 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.289, allocations: 49.7 kB / 0.7928 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2892, allocations: 370.8 kB / 0.7932 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.2894, allocations: 75.97 kB / 0.7932 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.2896, allocations: 131.8 kB / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.2898, allocations: 129.4 kB / 0.7935 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2898, allocations: 7.938 kB / 0.7935 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004368/0.2903, allocations: 268 kB / 0.7937 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2903, allocations: 8 kB / 0.7937 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2903, allocations: 3.984 kB / 0.7937 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2903, allocations: 0 / 0.7937 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2905, allocations: 39.92 kB / 0.7938 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2905, allocations: 0 / 0.7938 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.2907, allocations: 23.95 kB / 0.7938 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.2907, allocations: 8 kB / 0.7938 GB, free: 2.379 MB / 0.6075 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.00021/0.2909, allocations: 211.5 kB / 0.794 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.291, allocations: 59.28 kB / 0.7941 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.456e-05/0.2911, allocations: 57.05 kB / 0.7941 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2911, allocations: 0 / 0.7941 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.2911, allocations: 0 / 0.7941 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2911, allocations: 7.922 kB / 0.7941 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.2915, allocations: 369.3 kB / 0.7945 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2915, allocations: 11.94 kB / 0.7945 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.287e-05/0.2915, allocations: 4 kB / 0.7945 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.2915, allocations: 4 kB / 0.7945 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.2915, allocations: 8 kB / 0.7945 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2915, allocations: 0 / 0.7945 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2916, allocations: 0 / 0.7945 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.2919, allocations: 220.4 kB / 0.7947 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.292, allocations: 136.3 kB / 0.7949 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/0.2921, allocations: 4 kB / 0.7949 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.2922, allocations: 15.98 kB / 0.7949 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.2923, allocations: 15.98 kB / 0.7949 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.2924, allocations: 11.92 kB / 0.7949 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004929/0.2929, allocations: 471 kB / 0.7954 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2929, allocations: 0 / 0.7954 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003116/0.2932, allocations: 63.94 kB / 0.7954 GB, free: 0.6445 MB / 0.6075 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.0009988/0.2942, allocations: 435.2 kB / 0.7958 GB, free: 376 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.2946, allocations: 151.9 kB / 0.796 GB, free: 224 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.2946, allocations: 4 kB / 0.796 GB, free: 220 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.2947, allocations: 63.91 kB / 0.796 GB, free: 156 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.2953, allocations: 92.84 kB / 0.7961 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2967, allocations: 0.9467 MB / 0.7971 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.2972, allocations: 0.8649 MB / 0.7979 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.2974, allocations: 50.94 kB / 0.7979 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.2975, allocations: 31.44 kB / 0.798 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.2975, allocations: 0 / 0.798 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.009936/0.3074, allocations: 4.251 MB / 0.8021 GB, free: 9.922 MB / 0.6231 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)