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.001443/0.001443, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 196.5 kB / 16.64 MB, free: 6.449 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.351/1.351, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.689/1.689, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001559/0.001559, allocations: 73.09 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2276, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003984/0.2316, allocations: 2.183 MB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002195/0.2338, allocations: 1.301 MB / 0.787 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.234, allocations: 3.938 kB / 0.787 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.2348, allocations: 183.9 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.2351, allocations: 127.4 kB / 0.7873 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.2355, allocations: 115.7 kB / 0.7875 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.2358, allocations: 231.1 kB / 0.7877 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.2359, allocations: 48.27 kB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.2361, allocations: 87.62 kB / 0.7878 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.2363, allocations: 103.4 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.2363, allocations: 8 kB / 0.7879 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.2364, allocations: 51.98 kB / 0.788 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2366, allocations: 91.67 kB / 0.788 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.2367, allocations: 134.9 kB / 0.7882 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.2371, allocations: 358.7 kB / 0.7885 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2372, allocations: 4 kB / 0.7885 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2372, allocations: 0 / 0.7885 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.2372, allocations: 0 / 0.7885 GB, free: 8.219 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.0009605/0.2382, allocations: 0.6724 MB / 0.7892 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2382, allocations: 8.031 kB / 0.7892 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.2382, allocations: 38.75 kB / 0.7892 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/0.2383, allocations: 44.38 kB / 0.7893 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.2388, allocations: 360.2 kB / 0.7896 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.2388, allocations: 8.125 kB / 0.7896 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.2388, allocations: 8 kB / 0.7896 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.239, allocations: 73.66 kB / 0.7897 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.239, allocations: 3.984 kB / 0.7897 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.239, allocations: 4 kB / 0.7897 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2391, allocations: 0 / 0.7897 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.2392, allocations: 39.92 kB / 0.7897 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/0.2399, allocations: 456.5 kB / 0.7902 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.2401, allocations: 66.67 kB / 0.7902 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.485e-05/0.2402, allocations: 32.78 kB / 0.7903 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.2402, allocations: 0 / 0.7903 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.2404, allocations: 83.33 kB / 0.7903 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.2404, allocations: 0 / 0.7903 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003389/0.2407, allocations: 145 kB / 0.7905 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.2408, allocations: 59.34 kB / 0.7905 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.2414, allocations: 0.5255 MB / 0.7911 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.2414, allocations: 33.69 kB / 0.7911 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.2416, allocations: 223.9 kB / 0.7913 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.2416, allocations: 19.8 kB / 0.7913 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.2417, allocations: 45.61 kB / 0.7914 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2418, allocations: 354.8 kB / 0.7917 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.865e-05/0.2419, allocations: 47.97 kB / 0.7917 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.242, allocations: 81.2 kB / 0.7918 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.2422, allocations: 84.8 kB / 0.7919 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2422, allocations: 4.031 kB / 0.7919 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003324/0.2426, allocations: 197 kB / 0.7921 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2426, allocations: 4 kB / 0.7921 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2426, allocations: 0 / 0.7921 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.2426, allocations: 7.938 kB / 0.7921 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.2428, allocations: 23.92 kB / 0.7921 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2428, allocations: 0 / 0.7921 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2429, allocations: 15.98 kB / 0.7921 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.2429, allocations: 4 kB / 0.7922 GB, free: 4.25 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 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.2431, allocations: 188.9 kB / 0.7923 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.2431, allocations: 39.44 kB / 0.7924 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.94e-05/0.2432, allocations: 43.8 kB / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2432, allocations: 4.047 kB / 0.7924 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2432, allocations: 3.938 kB / 0.7924 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2433, allocations: 4 kB / 0.7924 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.2435, allocations: 297.5 kB / 0.7927 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2435, allocations: 0 / 0.7927 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.421e-05/0.2436, allocations: 7.938 kB / 0.7927 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2436, allocations: 4 kB / 0.7927 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2436, allocations: 4 kB / 0.7927 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2436, allocations: 3.938 kB / 0.7927 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2436, allocations: 3.984 kB / 0.7927 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.2438, allocations: 152.8 kB / 0.7929 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.2439, allocations: 108.6 kB / 0.793 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.244, allocations: 8.062 kB / 0.793 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/0.2441, allocations: 15.92 kB / 0.793 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.2441, allocations: 11.98 kB / 0.793 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2441, allocations: 4 kB / 0.793 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003787/0.2445, allocations: 362.8 kB / 0.7934 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2445, allocations: 3.938 kB / 0.7934 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002617/0.2448, allocations: 47.91 kB / 0.7934 GB, free: 2.863 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 (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.001369/0.2462, allocations: 0.9994 MB / 0.7944 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.2465, allocations: 99.89 kB / 0.7945 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2465, allocations: 0 / 0.7945 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.2465, allocations: 24 kB / 0.7945 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2469, allocations: 63.14 kB / 0.7946 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.2503, allocations: 3.058 MB / 0.7976 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.2507, allocations: 0.8138 MB / 0.7983 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.279e-05/0.2508, allocations: 17.55 kB / 0.7984 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.251, allocations: 115.4 kB / 0.7985 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.251, allocations: 4 kB / 0.7985 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.275, allocations: 7.17 MB / 0.8055 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/8.542, allocations: 3.938 kB / 0.8055 GB, free: 6.711 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)