Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.AssertWaterTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.000949/0.0009491, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001151/0.001151, allocations: 172.7 kB / 15.95 MB, free: 208 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.662/1.662, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.825/1.825, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0007886/0.0007887, allocations: 18.62 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2729, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002953/0.2759, allocations: 1.851 MB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.278, allocations: 1.192 MB / 0.7904 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.2782, allocations: 4 kB / 0.7904 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006707/0.2789, allocations: 175.2 kB / 0.7905 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.2793, allocations: 95.58 kB / 0.7906 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.2797, allocations: 104.6 kB / 0.7907 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.2801, allocations: 199.1 kB / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.2803, allocations: 36.38 kB / 0.791 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.2804, allocations: 87.52 kB / 0.791 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.2806, allocations: 87.62 kB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.2807, allocations: 4 kB / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.2809, allocations: 55.89 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.281, allocations: 83.61 kB / 0.7913 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.176e-05/0.2811, allocations: 73.52 kB / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.2815, allocations: 263.7 kB / 0.7916 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2815, allocations: 0 / 0.7916 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.053e-06/0.2815, allocations: 0 / 0.7916 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.2815, allocations: 0 / 0.7916 GB, free: 7.523 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00127/0.2828, allocations: 0.6337 MB / 0.7922 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.2829, allocations: 12.03 kB / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.563e-05/0.2829, allocations: 34.56 kB / 0.7923 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.2831, allocations: 51.38 kB / 0.7923 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000635/0.2837, allocations: 327.3 kB / 0.7926 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2837, allocations: 0 / 0.7926 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.2838, allocations: 8 kB / 0.7926 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.284, allocations: 73.66 kB / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.284, allocations: 4 kB / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.284, allocations: 7.938 kB / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.2841, allocations: 0 / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.2842, allocations: 39.92 kB / 0.7927 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008913/0.2851, allocations: 456.6 kB / 0.7932 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.2853, allocations: 74.66 kB / 0.7932 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.636e-05/0.2854, allocations: 28.78 kB / 0.7933 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.2854, allocations: 7.953 kB / 0.7933 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.2856, allocations: 75.38 kB / 0.7934 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.2856, allocations: 0 / 0.7934 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004193/0.2861, allocations: 145 kB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.2861, allocations: 51.41 kB / 0.7935 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/0.2869, allocations: 0.5332 MB / 0.7941 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.2869, allocations: 25.7 kB / 0.7941 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.2871, allocations: 216 kB / 0.7943 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.2871, allocations: 23.72 kB / 0.7943 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.2871, allocations: 4 kB / 0.7943 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.2873, allocations: 366.8 kB / 0.7947 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.97e-05/0.2874, allocations: 43.98 kB / 0.7947 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.2876, allocations: 70.55 kB / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2877, allocations: 51.98 kB / 0.7948 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2877, allocations: 0 / 0.7948 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003199/0.288, allocations: 203.3 kB / 0.795 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.288, allocations: 8.062 kB / 0.795 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2881, allocations: 3.984 kB / 0.795 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2881, allocations: 4 kB / 0.795 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.2882, allocations: 23.92 kB / 0.7951 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.2882, allocations: 4 kB / 0.7951 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.2883, allocations: 12.25 kB / 0.7951 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.2884, allocations: 7.984 kB / 0.7951 GB, free: 3.699 MB / 0.6075 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 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.2886, allocations: 185.8 kB / 0.7953 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.2886, allocations: 47.39 kB / 0.7953 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.119e-05/0.2887, allocations: 47.8 kB / 0.7954 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2887, allocations: 0 / 0.7954 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2887, allocations: 0 / 0.7954 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2888, allocations: 0 / 0.7954 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.289, allocations: 293.5 kB / 0.7956 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2891, allocations: 0 / 0.7956 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.2891, allocations: 7.938 kB / 0.7956 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2891, allocations: 0 / 0.7956 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2891, allocations: 11.95 kB / 0.7956 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2891, allocations: 0 / 0.7956 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2891, allocations: 3.938 kB / 0.7957 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.2894, allocations: 148.5 kB / 0.7958 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.2895, allocations: 116.6 kB / 0.7959 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.2895, allocations: 0 / 0.7959 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.2896, allocations: 15.94 kB / 0.7959 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.2897, allocations: 19.92 kB / 0.7959 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.2897, allocations: 0 / 0.7959 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004372/0.2902, allocations: 358.8 kB / 0.7963 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2902, allocations: 4 kB / 0.7963 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002936/0.2905, allocations: 51.83 kB / 0.7963 GB, free: 2.316 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: 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 (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.001582/0.2921, allocations: 0.9967 MB / 0.7973 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.2924, allocations: 103.8 kB / 0.7974 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2924, allocations: 0 / 0.7974 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.2925, allocations: 23.98 kB / 0.7974 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.2929, allocations: 53.17 kB / 0.7975 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.2961, allocations: 2.205 MB / 0.7996 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.2965, allocations: 0.8177 MB / 0.8004 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.2966, allocations: 29.52 kB / 0.8005 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.2967, allocations: 115.4 kB / 0.8006 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of SimCode: time 6.32e-07/0.2967, allocations: 3.938 kB / 0.8006 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.3164, allocations: 6.961 MB / 0.8074 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.3166, allocations: 243 kB / 0.8076 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.234, allocations: 0 / 0.8076 GB, free: 7.039 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) Environment - environmentSimulation: