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.001233/0.001233, allocations: 101.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.001412/0.001412, allocations: 193.9 kB / 16.64 MB, free: 6.586 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.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 4.609 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.715/1.715, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001514/0.001514, allocations: 66.33 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2298, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003565/0.2334, allocations: 2.175 MB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.2355, allocations: 1.301 MB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.2358, allocations: 3.938 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006271/0.2364, allocations: 187.9 kB / 0.7872 GB, free: 9.574 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.0003637/0.2368, allocations: 127.4 kB / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.2371, allocations: 119.6 kB / 0.7875 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.2374, allocations: 227.1 kB / 0.7877 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.2376, allocations: 48.27 kB / 0.7877 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.2377, allocations: 91.62 kB / 0.7878 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.2379, allocations: 103.4 kB / 0.7879 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.2379, allocations: 12 kB / 0.7879 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.2381, allocations: 51.97 kB / 0.788 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.2382, allocations: 87.62 kB / 0.7881 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.2383, allocations: 139 kB / 0.7882 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.2386, allocations: 354.7 kB / 0.7885 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2387, allocations: 4 kB / 0.7885 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2387, allocations: 0 / 0.7885 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.2387, allocations: 0 / 0.7885 GB, free: 8.234 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.0009849/0.2397, allocations: 0.6724 MB / 0.7892 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2397, allocations: 12.03 kB / 0.7892 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.2398, allocations: 34.69 kB / 0.7892 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.2398, allocations: 48.38 kB / 0.7893 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.2403, allocations: 356.3 kB / 0.7896 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.2403, allocations: 8.125 kB / 0.7896 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.2403, allocations: 7.984 kB / 0.7896 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2405, allocations: 77.66 kB / 0.7897 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2405, allocations: 0 / 0.7897 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2405, allocations: 4 kB / 0.7897 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2405, allocations: 4 kB / 0.7897 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.913e-05/0.2406, allocations: 39.86 kB / 0.7897 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.2413, allocations: 456.5 kB / 0.7902 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.2415, allocations: 70.61 kB / 0.7903 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.16e-05/0.2415, allocations: 24.84 kB / 0.7903 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.2416, allocations: 4 kB / 0.7903 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.2417, allocations: 79.38 kB / 0.7904 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.2417, allocations: 0 / 0.7904 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003497/0.2421, allocations: 145 kB / 0.7905 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.2422, allocations: 55.41 kB / 0.7905 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.2428, allocations: 0.5294 MB / 0.7911 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.2428, allocations: 29.7 kB / 0.7911 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.243, allocations: 227.9 kB / 0.7913 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.243, allocations: 19.8 kB / 0.7913 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/0.2431, allocations: 45.61 kB / 0.7914 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2433, allocations: 354.8 kB / 0.7917 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.2434, allocations: 51.97 kB / 0.7918 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2435, allocations: 70.55 kB / 0.7918 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.2437, allocations: 91.92 kB / 0.7919 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2437, allocations: 0 / 0.7919 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003001/0.244, allocations: 193 kB / 0.7921 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.244, allocations: 4 kB / 0.7921 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.244, allocations: 0 / 0.7921 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.244, allocations: 7.938 kB / 0.7921 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2442, allocations: 27.92 kB / 0.7921 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.2442, allocations: 4 kB / 0.7921 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2443, allocations: 12.02 kB / 0.7922 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.2444, allocations: 8 kB / 0.7922 GB, free: 4.262 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.0001689/0.2445, allocations: 180.9 kB / 0.7923 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.2446, allocations: 43.44 kB / 0.7924 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-05/0.2447, allocations: 51.72 kB / 0.7924 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2447, allocations: 4.047 kB / 0.7924 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2447, allocations: 7.938 kB / 0.7924 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2447, allocations: 0 / 0.7924 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.2449, allocations: 293.5 kB / 0.7927 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2449, allocations: 8.25 kB / 0.7927 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/0.245, allocations: 4 kB / 0.7927 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.245, allocations: 8 kB / 0.7927 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.245, allocations: 0 / 0.7927 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.245, allocations: 7.922 kB / 0.7927 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.245, allocations: 0 / 0.7927 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.2452, allocations: 144.5 kB / 0.7929 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.2453, allocations: 112.6 kB / 0.793 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.2454, allocations: 8 kB / 0.793 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.2455, allocations: 11.92 kB / 0.793 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.2455, allocations: 15.97 kB / 0.793 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.2456, allocations: 3.938 kB / 0.793 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003528/0.2459, allocations: 362.8 kB / 0.7934 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2459, allocations: 0 / 0.7934 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002569/0.2462, allocations: 51.89 kB / 0.7934 GB, free: 2.875 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.001266/0.2475, allocations: 0.9895 MB / 0.7944 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.2477, allocations: 103.1 kB / 0.7945 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2477, allocations: 0 / 0.7945 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.227e-05/0.2478, allocations: 24 kB / 0.7945 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.2482, allocations: 75.19 kB / 0.7946 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.2517, allocations: 3.058 MB / 0.7976 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.2521, allocations: 0.8099 MB / 0.7984 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.496e-05/0.2522, allocations: 25.55 kB / 0.7984 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.2523, allocations: 111.4 kB / 0.7985 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2523, allocations: 0 / 0.7985 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.2749, allocations: 7.156 MB / 0.8055 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/7.902, allocations: 9.688 kB / 0.8055 GB, free: 6.727 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/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)