Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.776/2.776, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001338/0.001338, allocations: 182.6 kB / 371 MB, free: 10.86 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.15/2.15, allocations: 205.4 MB / 0.6297 GB, free: 10.49 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.001338/0.001338, allocations: 90.88 kB / 0.743 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005382/0.0005385, allocations: 10.83 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2197, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005597/0.2253, allocations: 4.196 MB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003272/0.2287, allocations: 2.471 MB / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.2289, allocations: 0 / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.2292, allocations: 35.81 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.2295, allocations: 83.47 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.2311, allocations: 390.3 kB / 0.9854 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.2315, allocations: 267.9 kB / 0.9857 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.751e-05/0.2316, allocations: 5.562 kB / 0.9857 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.2319, allocations: 115.6 kB / 0.9858 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.232, allocations: 83.67 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.2321, allocations: 8 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.2331, allocations: 247.4 kB / 0.9861 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.2332, allocations: 35.89 kB / 0.9862 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.2333, allocations: 53.64 kB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.2338, allocations: 211.7 kB / 0.9864 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2338, allocations: 4 kB / 0.9864 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2338, allocations: 0 / 0.9864 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2339, allocations: 0 / 0.9864 GB, free: 20.06 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.0007488/0.2346, allocations: 467.1 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.2347, allocations: 20.02 kB / 0.9869 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.409e-05/0.2347, allocations: 54.5 kB / 0.9869 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.2349, allocations: 15.91 kB / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.2352, allocations: 222.7 kB / 0.9872 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.2352, allocations: 16.31 kB / 0.9872 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.2353, allocations: 19.94 kB / 0.9872 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.2357, allocations: 240 kB / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2358, allocations: 0 / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.2358, allocations: 12 kB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.2359, allocations: 11.94 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.2365, allocations: 427.4 kB / 0.9879 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.2379, allocations: 0.9449 MB / 0.9888 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.2383, allocations: 152.4 kB / 0.9889 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.2384, allocations: 60.88 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/0.2398, allocations: 1.833 MB / 0.9908 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.2399, allocations: 34.56 kB / 0.9908 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.2399, allocations: 0 / 0.9908 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004737/0.2404, allocations: 142.8 kB / 0.9909 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.2405, allocations: 55.41 kB / 0.991 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.2406, allocations: 160.3 kB / 0.9911 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.2407, allocations: 29.7 kB / 0.9912 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.2407, allocations: 147.7 kB / 0.9913 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.2408, allocations: 55.28 kB / 0.9914 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.2408, allocations: 4 kB / 0.9914 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.2409, allocations: 322.8 kB / 0.9917 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/0.241, allocations: 35.97 kB / 0.9917 GB, free: 14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.2412, allocations: 146.2 kB / 0.9919 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.2413, allocations: 59.92 kB / 0.9919 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.2413, allocations: 3.953 kB / 0.9919 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004426/0.2418, allocations: 213.9 kB / 0.9921 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2418, allocations: 8 kB / 0.9921 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2419, allocations: 4 kB / 0.9921 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.2419, allocations: 4 kB / 0.9921 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.2422, allocations: 55.91 kB / 0.9922 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.2422, allocations: 12.41 kB / 0.9922 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.2424, allocations: 31.69 kB / 0.9922 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.2425, allocations: 16 kB / 0.9922 GB, free: 13.4 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.000135/0.2426, allocations: 125.8 kB / 0.9924 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.2427, allocations: 15.86 kB / 0.9924 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.2431, allocations: 159.6 kB / 0.9925 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.2432, allocations: 4 kB / 0.9925 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2432, allocations: 0 / 0.9925 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2432, allocations: 4 kB / 0.9925 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.2435, allocations: 225.4 kB / 0.9928 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2435, allocations: 0 / 0.9928 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.2437, allocations: 27.89 kB / 0.9928 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2437, allocations: 0 / 0.9928 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.2437, allocations: 7.984 kB / 0.9928 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2437, allocations: 4 kB / 0.9928 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2437, allocations: 0 / 0.9928 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.244, allocations: 225.2 kB / 0.993 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-05/0.2442, allocations: 104.9 kB / 0.9931 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.2442, allocations: 7.938 kB / 0.9931 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.2445, allocations: 12 kB / 0.9931 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.2446, allocations: 7.984 kB / 0.9931 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.2446, allocations: 12 kB / 0.9931 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.522e-05/0.2447, allocations: 124.9 kB / 0.9933 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.2e-07/0.2447, allocations: 0 / 0.9933 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005109/0.2452, allocations: 71.94 kB / 0.9933 GB, free: 12.18 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.0006875/0.2459, allocations: 0.8239 MB / 0.9941 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.2463, allocations: 112 kB / 0.9942 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2463, allocations: 3.938 kB / 0.9942 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.2464, allocations: 39.98 kB / 0.9943 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.2471, allocations: 60.72 kB / 0.9943 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.249, allocations: 1.003 MB / 0.9953 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.2492, allocations: 0.7133 MB / 0.996 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002978/0.2495, allocations: 41.83 kB / 0.9961 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/0.2496, allocations: 47.42 kB / 0.9961 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.2496, allocations: 0 / 0.9961 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.275, allocations: 4.718 MB / 1.001 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.2753, allocations: 187.3 kB / 1.001 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/2.951, allocations: 0 / 1.001 GB, free: 4.375 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)