Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.001144/0.001144, allocations: 181.1 kB / 371.8 MB, free: 10.28 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.678/1.678, allocations: 205.4 MB / 0.6305 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009526/0.0009525, allocations: 93.25 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 16.66 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2284, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002254/0.2307, allocations: 1.805 MB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2322, allocations: 1.184 MB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.2324, allocations: 4 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.233, allocations: 179.3 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.2333, allocations: 103.7 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.2336, allocations: 96.88 kB / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.2339, allocations: 151.7 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.2341, allocations: 40.38 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.2343, allocations: 95.56 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.2344, allocations: 83.61 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.2345, allocations: 4 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.2346, allocations: 31.98 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.2347, allocations: 87.66 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.44e-05/0.2348, allocations: 77.52 kB / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.235, allocations: 263.6 kB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2351, allocations: 4 kB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2351, allocations: 0 / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2351, allocations: 0 / 0.9836 GB, free: 23.39 MB / 0.6198 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.0008856/0.236, allocations: 0.6259 MB / 0.9842 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.236, allocations: 8.031 kB / 0.9842 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.545e-05/0.2361, allocations: 42.48 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.2362, allocations: 47.39 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.2366, allocations: 327.4 kB / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.2366, allocations: 4 kB / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.2367, allocations: 8 kB / 0.9846 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.2369, allocations: 73.59 kB / 0.9847 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2369, allocations: 0 / 0.9847 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.2369, allocations: 8 kB / 0.9847 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2369, allocations: 7.984 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.448e-05/0.237, allocations: 31.94 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.2377, allocations: 464.5 kB / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.2379, allocations: 70.61 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.2379, allocations: 4 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.2381, allocations: 79.47 kB / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.2381, allocations: 112 / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002815/0.2384, allocations: 145 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.2384, allocations: 55.41 kB / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.2389, allocations: 0.5254 MB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2389, allocations: 37.69 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.239, allocations: 220 kB / 0.9863 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.239, allocations: 23.73 kB / 0.9863 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.239, allocations: 4 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.2391, allocations: 354.7 kB / 0.9866 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.2392, allocations: 51.97 kB / 0.9867 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.978e-05/0.2393, allocations: 72.12 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.418e-05/0.2394, allocations: 48.02 kB / 0.9868 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2394, allocations: 3.938 kB / 0.9868 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000238/0.2397, allocations: 199.6 kB / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2397, allocations: 11.95 kB / 0.987 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2397, allocations: 0 / 0.987 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2397, allocations: 0 / 0.987 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2398, allocations: 27.92 kB / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.2398, allocations: 0 / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.24, allocations: 20.02 kB / 0.987 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.24, allocations: 4 kB / 0.987 GB, free: 19.6 MB / 0.6198 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.0001335/0.2401, allocations: 179.3 kB / 0.9872 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.2402, allocations: 43.44 kB / 0.9872 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.044e-05/0.2402, allocations: 51.73 kB / 0.9873 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2402, allocations: 4 kB / 0.9873 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2402, allocations: 0 / 0.9873 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2403, allocations: 0 / 0.9873 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.2404, allocations: 301.5 kB / 0.9876 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2404, allocations: 4 kB / 0.9876 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/0.2405, allocations: 3.938 kB / 0.9876 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2405, allocations: 4 kB / 0.9876 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.2405, allocations: 3.984 kB / 0.9876 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2405, allocations: 3.953 kB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2405, allocations: 256 / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.2407, allocations: 152.5 kB / 0.9878 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.2408, allocations: 108.6 kB / 0.9879 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.2408, allocations: 15.98 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.95e-05/0.2409, allocations: 7.938 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.241, allocations: 11.94 kB / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.241, allocations: 7.984 kB / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002705/0.2413, allocations: 358.8 kB / 0.9882 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2413, allocations: 0 / 0.9882 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002418/0.2415, allocations: 51.84 kB / 0.9883 GB, free: 18.22 MB / 0.6198 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.001092/0.2426, allocations: 0.9967 MB / 0.9893 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.2428, allocations: 91.91 kB / 0.9894 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2428, allocations: 0 / 0.9894 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.335e-05/0.2429, allocations: 27.98 kB / 0.9894 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.2432, allocations: 59.25 kB / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000996/0.2442, allocations: 1.15 MB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.2444, allocations: 0.8219 MB / 0.9914 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.18e-05/0.2445, allocations: 33.41 kB / 0.9914 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.2446, allocations: 111.4 kB / 0.9915 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2446, allocations: 0 / 0.9915 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.2645, allocations: 6.868 MB / 0.9982 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/0.2648, allocations: 249.3 kB / 0.9984 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.409, allocations: 4 kB / 0.9984 GB, free: 7.914 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)