Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties",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.712/1.712, allocations: 288.4 MB / 303.3 MB, free: 8.188 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.001223/0.001223, allocations: 174.4 kB / 372 MB, free: 10.25 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.874/1.874, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0009172/0.0009175, allocations: 89.05 kB / 0.744 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004231, allocations: 10 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2418, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004031/0.2458, allocations: 4.196 MB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.2479, allocations: 2.471 MB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.599e-05/0.248, allocations: 0 / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.2482, allocations: 43.8 kB / 0.9862 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.2485, allocations: 79.48 kB / 0.9863 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009337/0.2494, allocations: 380.6 kB / 0.9866 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.2497, allocations: 271.9 kB / 0.9869 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.502e-05/0.2497, allocations: 5.562 kB / 0.9869 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.2499, allocations: 115.6 kB / 0.987 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.25, allocations: 87.66 kB / 0.9871 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.2501, allocations: 8 kB / 0.9871 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005378/0.2506, allocations: 239.5 kB / 0.9873 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.369e-05/0.2507, allocations: 39.88 kB / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.2507, allocations: 53.64 kB / 0.9874 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.2511, allocations: 219.7 kB / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2511, allocations: 0 / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2511, allocations: 0 / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.475e-06/0.2511, allocations: 0 / 0.9876 GB, free: 19.34 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006704/0.2518, allocations: 467.1 kB / 0.9881 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.2519, allocations: 16.02 kB / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.2519, allocations: 50.55 kB / 0.9881 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.2521, allocations: 19.86 kB / 0.9881 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.2523, allocations: 218.7 kB / 0.9883 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.2523, allocations: 16.31 kB / 0.9884 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.2523, allocations: 23.92 kB / 0.9884 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.2526, allocations: 236 kB / 0.9886 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2527, allocations: 0 / 0.9886 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.2527, allocations: 12 kB / 0.9886 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.2527, allocations: 4 kB / 0.9886 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.2531, allocations: 435.4 kB / 0.989 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.254, allocations: 0.9488 MB / 0.99 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.2543, allocations: 156.1 kB / 0.9901 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.401e-05/0.2543, allocations: 56.89 kB / 0.9902 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000967/0.2553, allocations: 1.833 MB / 0.992 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2554, allocations: 42.55 kB / 0.992 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.2554, allocations: 0 / 0.992 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0002811/0.2556, allocations: 143.7 kB / 0.9921 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.2557, allocations: 51.41 kB / 0.9922 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.2558, allocations: 165.2 kB / 0.9923 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.2558, allocations: 25.7 kB / 0.9924 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.2559, allocations: 143.7 kB / 0.9925 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.2559, allocations: 59.27 kB / 0.9926 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.256, allocations: 8 kB / 0.9926 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.256, allocations: 322.8 kB / 0.9929 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.2561, allocations: 31.98 kB / 0.9929 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.2562, allocations: 150.1 kB / 0.993 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.336e-05/0.2563, allocations: 55.94 kB / 0.9931 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2563, allocations: 0 / 0.9931 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002535/0.2566, allocations: 213.3 kB / 0.9933 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2566, allocations: 11.94 kB / 0.9933 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.2566, allocations: 7.984 kB / 0.9933 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2566, allocations: 4 kB / 0.9933 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2568, allocations: 51.92 kB / 0.9934 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2568, allocations: 11.94 kB / 0.9934 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.2569, allocations: 27.69 kB / 0.9934 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.257, allocations: 19.98 kB / 0.9934 GB, free: 12.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001002/0.2571, allocations: 130 kB / 0.9936 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.2571, allocations: 15.86 kB / 0.9936 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.2574, allocations: 151.7 kB / 0.9937 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.2574, allocations: 4 kB / 0.9937 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2574, allocations: 0 / 0.9937 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2574, allocations: 3.984 kB / 0.9937 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.2576, allocations: 217.5 kB / 0.9939 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2576, allocations: 0 / 0.9939 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.983e-05/0.2577, allocations: 31.92 kB / 0.994 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2577, allocations: 3.953 kB / 0.994 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2577, allocations: 4 kB / 0.994 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2577, allocations: 4 kB / 0.994 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2578, allocations: 0 / 0.994 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.2579, allocations: 220.9 kB / 0.9942 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.258, allocations: 108.9 kB / 0.9943 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.258, allocations: 3.953 kB / 0.9943 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.2582, allocations: 19.98 kB / 0.9943 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.2583, allocations: 4 kB / 0.9943 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.2583, allocations: 15.98 kB / 0.9943 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.929e-05/0.2584, allocations: 121.6 kB / 0.9944 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2584, allocations: 0 / 0.9944 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003475/0.2587, allocations: 75.92 kB / 0.9945 GB, free: 11.47 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0005149/0.2592, allocations: 0.8232 MB / 0.9953 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.2594, allocations: 108.6 kB / 0.9954 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2595, allocations: 4.125 kB / 0.9954 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.007e-05/0.2595, allocations: 46.09 kB / 0.9955 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.26, allocations: 63.89 kB / 0.9955 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.2613, allocations: 0.999 MB / 0.9965 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.2615, allocations: 0.7133 MB / 0.9972 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001716/0.2617, allocations: 45.81 kB / 0.9973 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.2618, allocations: 47.42 kB / 0.9973 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.2618, allocations: 0 / 0.9973 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.279, allocations: 4.722 MB / 1.002 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.2793, allocations: 191.4 kB / 1.002 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.165, allocations: 0 / 1.002 GB, free: 3.676 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)