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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008897/0.0008896, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001149/0.001149, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.781/1.781, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.000579/0.000579, allocations: 15.38 kB / 0.6738 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2654, allocations: 116.3 MB / 0.7874 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003181/0.2686, allocations: 2.098 MB / 0.7895 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.271, allocations: 1.372 MB / 0.7908 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.2712, allocations: 4 kB / 0.7908 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007967/0.272, allocations: 295 kB / 0.7911 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.2724, allocations: 186.9 kB / 0.7913 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.2729, allocations: 190.7 kB / 0.7914 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.2733, allocations: 350.7 kB / 0.7918 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.2735, allocations: 53.19 kB / 0.7918 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.2737, allocations: 143.3 kB / 0.792 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.2739, allocations: 155.2 kB / 0.7921 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.2739, allocations: 8 kB / 0.7921 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.2741, allocations: 55.95 kB / 0.7922 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.2742, allocations: 115.6 kB / 0.7923 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.531e-05/0.2743, allocations: 93.39 kB / 0.7924 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.2747, allocations: 375.1 kB / 0.7927 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2747, allocations: 0 / 0.7927 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2747, allocations: 0 / 0.7927 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2748, allocations: 0 / 0.7927 GB, free: 6.398 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.001029/0.2758, allocations: 0.7676 MB / 0.7935 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2758, allocations: 8.031 kB / 0.7935 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.904e-05/0.2759, allocations: 46.55 kB / 0.7935 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.276, allocations: 63.2 kB / 0.7936 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.2765, allocations: 404 kB / 0.794 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.2765, allocations: 12.11 kB / 0.794 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.2766, allocations: 16 kB / 0.794 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.2769, allocations: 139.5 kB / 0.7941 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2769, allocations: 0 / 0.7941 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.2769, allocations: 3.984 kB / 0.7941 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.2769, allocations: 4 kB / 0.7941 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.2771, allocations: 72.48 kB / 0.7942 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008403/0.2779, allocations: 0.5822 MB / 0.7948 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.2782, allocations: 134.7 kB / 0.7949 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2783, allocations: 44.84 kB / 0.795 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.2784, allocations: 4 kB / 0.795 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.2786, allocations: 103.3 kB / 0.7951 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 3.397e-06/0.2786, allocations: 0 / 0.7951 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004932/0.2791, allocations: 236.9 kB / 0.7953 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.2792, allocations: 77.11 kB / 0.7954 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008129/0.28, allocations: 0.6798 MB / 0.796 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.28, allocations: 33.7 kB / 0.7961 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.2803, allocations: 272.2 kB / 0.7963 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.2803, allocations: 31.61 kB / 0.7963 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.2803, allocations: 4 kB / 0.7963 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2805, allocations: 366.8 kB / 0.7967 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2807, allocations: 75.97 kB / 0.7968 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.2808, allocations: 132.2 kB / 0.7969 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.281, allocations: 79.95 kB / 0.797 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.281, allocations: 0 / 0.797 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004231/0.2815, allocations: 272 kB / 0.7972 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2815, allocations: 4 kB / 0.7972 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2815, allocations: 7.938 kB / 0.7972 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2815, allocations: 0 / 0.7972 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.2817, allocations: 35.92 kB / 0.7973 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2817, allocations: 0 / 0.7973 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.2819, allocations: 31.83 kB / 0.7973 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.2819, allocations: 8.062 kB / 0.7973 GB, free: 1.445 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 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002482/0.2822, allocations: 211.5 kB / 0.7975 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.2822, allocations: 63.17 kB / 0.7976 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.969e-05/0.2823, allocations: 57.05 kB / 0.7976 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2823, allocations: 4 kB / 0.7976 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2824, allocations: 48 / 0.7976 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.2824, allocations: 3.984 kB / 0.7976 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.2828, allocations: 369.4 kB / 0.798 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2828, allocations: 3.953 kB / 0.798 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.2829, allocations: 16 kB / 0.798 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2829, allocations: 0 / 0.798 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.2829, allocations: 7.984 kB / 0.798 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2829, allocations: 0 / 0.798 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2829, allocations: 0 / 0.798 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.2833, allocations: 219.8 kB / 0.7982 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.2834, allocations: 144.3 kB / 0.7984 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.2834, allocations: 4 kB / 0.7984 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.2836, allocations: 19.98 kB / 0.7984 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.2837, allocations: 15.97 kB / 0.7984 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.2837, allocations: 12 kB / 0.7984 GB, free: 224 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005495/0.2842, allocations: 459 kB / 0.7988 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2842, allocations: 0 / 0.7988 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003251/0.2846, allocations: 63.98 kB / 0.7989 GB, free: 15.71 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001573/0.2862, allocations: 1.097 MB / 0.8 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.2865, allocations: 147.9 kB / 0.8001 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2865, allocations: 0 / 0.8001 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.2867, allocations: 60.09 kB / 0.8002 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.2872, allocations: 82.94 kB / 0.8003 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.2916, allocations: 2.896 MB / 0.8031 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.2922, allocations: 0.8688 MB / 0.8039 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002246/0.2925, allocations: 54.88 kB / 0.804 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.2927, allocations: 167.4 kB / 0.8041 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.2927, allocations: 0 / 0.8041 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.3171, allocations: 9.378 MB / 0.8133 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003502/0.3176, allocations: 231 kB / 0.8135 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.318, allocations: 7.016 kB / 0.8135 GB, free: 0.9766 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) Environment - environmentSimulation: