Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.811/2.811, allocations: 287.5 MB / 302.4 MB, free: 8.32 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.001363/0.001363, allocations: 184.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.000987/0.000987, allocations: 85.16 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005526/0.0005529, allocations: 17.42 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2285, allocations: 115.3 MB / 0.9785 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00284/0.2314, allocations: 1.832 MB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002434/0.2339, allocations: 1.196 MB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.2341, allocations: 3.938 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006881/0.2348, allocations: 171.3 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.2352, allocations: 107.5 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.2357, allocations: 101 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.2361, allocations: 199.2 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.2362, allocations: 32.38 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2364, allocations: 87.58 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.2366, allocations: 95.55 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.2367, allocations: 4 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.2369, allocations: 35.98 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.237, allocations: 91.66 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.428e-05/0.2371, allocations: 77.45 kB / 0.9824 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.2374, allocations: 263.6 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2375, allocations: 0 / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2375, allocations: 0 / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2375, allocations: 0 / 0.9826 GB, free: 24 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.001201/0.2387, allocations: 0.626 MB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.2388, allocations: 12.02 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.2388, allocations: 42.55 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/0.2389, allocations: 47.39 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.2395, allocations: 323.3 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.2395, allocations: 11.94 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.2396, allocations: 4 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.2398, allocations: 77.66 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2398, allocations: 7.984 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.2398, allocations: 7.984 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2399, allocations: 3.953 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.24, allocations: 31.98 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008891/0.2409, allocations: 472.5 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.2412, allocations: 66.62 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.962e-05/0.2413, allocations: 20.86 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.2414, allocations: 0 / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.2416, allocations: 87.31 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.2416, allocations: 0 / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004917/0.2421, allocations: 141.1 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2422, allocations: 55.41 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007476/0.2429, allocations: 0.5215 MB / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.243, allocations: 37.64 kB / 0.9851 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.2432, allocations: 220 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.2432, allocations: 19.75 kB / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.2432, allocations: 8 kB / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2434, allocations: 354.9 kB / 0.9857 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.2436, allocations: 55.86 kB / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.2437, allocations: 75.95 kB / 0.9858 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.2439, allocations: 49.67 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2439, allocations: 0 / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004844/0.2444, allocations: 205 kB / 0.9861 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.2445, allocations: 8 kB / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2445, allocations: 0 / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.2445, allocations: 0 / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.2447, allocations: 23.98 kB / 0.9861 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2447, allocations: 0 / 0.9861 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.245, allocations: 15.98 kB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.245, allocations: 8 kB / 0.9861 GB, free: 20.17 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.0002429/0.2453, allocations: 181.8 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.2453, allocations: 47.39 kB / 0.9863 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-05/0.2454, allocations: 47.8 kB / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2455, allocations: 0 / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2455, allocations: 0 / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2455, allocations: 0 / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.2458, allocations: 301.5 kB / 0.9867 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2458, allocations: 0 / 0.9867 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.2458, allocations: 4 kB / 0.9867 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.2459, allocations: 3.953 kB / 0.9867 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.2459, allocations: 4 kB / 0.9867 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2459, allocations: 256 / 0.9867 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2459, allocations: 7.984 kB / 0.9867 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.2462, allocations: 152.5 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.2463, allocations: 108.6 kB / 0.987 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.2464, allocations: 11.95 kB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.2466, allocations: 11.98 kB / 0.987 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.2466, allocations: 7.984 kB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.2467, allocations: 4 kB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004887/0.2472, allocations: 362.8 kB / 0.9873 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2472, allocations: 0 / 0.9873 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003986/0.2476, allocations: 47.84 kB / 0.9874 GB, free: 18.8 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.001593/0.2492, allocations: 1.001 MB / 0.9884 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003688/0.2496, allocations: 91.91 kB / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2496, allocations: 0 / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.2497, allocations: 31.92 kB / 0.9885 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/0.2503, allocations: 59.08 kB / 0.9885 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.2542, allocations: 2.208 MB / 0.9907 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.2546, allocations: 0.8216 MB / 0.9915 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001508/0.2548, allocations: 21.55 kB / 0.9915 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.255, allocations: 115.4 kB / 0.9916 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of SimCode: time 9.52e-07/0.255, allocations: 0 / 0.9916 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03709/0.2921, allocations: 6.984 MB / 0.9984 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.2924, allocations: 247.2 kB / 0.9987 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/3.215, allocations: 3.938 kB / 0.9987 GB, free: 7.414 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)