Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.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: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000831/0.0008314, allocations: 86.88 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008293/0.0008293, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.653/1.653, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0004501/0.0004501, allocations: 18.44 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2184, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005949/0.2244, allocations: 4.192 MB / 0.7914 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.227, allocations: 2.482 MB / 0.7938 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.2271, allocations: 0 / 0.7938 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.2274, allocations: 31.8 kB / 0.7938 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.2276, allocations: 91.42 kB / 0.7939 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009793/0.2286, allocations: 385.9 kB / 0.7943 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.2289, allocations: 259.9 kB / 0.7945 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.2289, allocations: 5.562 kB / 0.7945 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.2291, allocations: 115.6 kB / 0.7946 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.2292, allocations: 87.64 kB / 0.7947 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.2293, allocations: 12 kB / 0.7947 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000483/0.2298, allocations: 239.5 kB / 0.795 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.2298, allocations: 43.83 kB / 0.795 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.2299, allocations: 53.64 kB / 0.795 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.2302, allocations: 211.7 kB / 0.7953 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2302, allocations: 4 kB / 0.7953 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2302, allocations: 0 / 0.7953 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.2302, allocations: 0 / 0.7953 GB, free: 3.684 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005583/0.2307, allocations: 467.2 kB / 0.7957 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2308, allocations: 12.03 kB / 0.7957 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.2309, allocations: 27.78 kB / 0.7957 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.2311, allocations: 214.7 kB / 0.7959 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.2312, allocations: 16.33 kB / 0.796 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.2312, allocations: 12 kB / 0.796 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.2315, allocations: 247.9 kB / 0.7962 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2315, allocations: 0 / 0.7962 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.2316, allocations: 12 kB / 0.7962 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.2316, allocations: 4 kB / 0.7962 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.232, allocations: 427.4 kB / 0.7966 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.233, allocations: 0.9527 MB / 0.7976 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.2332, allocations: 155.7 kB / 0.7977 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.619e-05/0.2333, allocations: 60.17 kB / 0.7978 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.2345, allocations: 1.829 MB / 0.7996 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.2345, allocations: 42.55 kB / 0.7996 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.2345, allocations: 0 / 0.7996 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0002917/0.2348, allocations: 144.3 kB / 0.7997 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.2349, allocations: 51.41 kB / 0.7998 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.235, allocations: 171.3 kB / 0.7999 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.235, allocations: 29.7 kB / 0.8 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.2351, allocations: 139.8 kB / 0.8001 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.2352, allocations: 55.19 kB / 0.8002 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.2352, allocations: 8 kB / 0.8002 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.2353, allocations: 322.8 kB / 0.8005 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.621e-05/0.2354, allocations: 35.98 kB / 0.8005 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.2355, allocations: 137.7 kB / 0.8006 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.236e-05/0.2356, allocations: 55.94 kB / 0.8007 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2356, allocations: 0 / 0.8007 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002867/0.2359, allocations: 221 kB / 0.8009 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2359, allocations: 8 kB / 0.8009 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2359, allocations: 4 kB / 0.8009 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2359, allocations: 7.984 kB / 0.8009 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.2361, allocations: 56.39 kB / 0.801 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.2361, allocations: 4 kB / 0.801 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.2362, allocations: 31.69 kB / 0.801 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.2362, allocations: 19.98 kB / 0.801 GB, free: 13.09 MB / 0.6231 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.0001017/0.2363, allocations: 125.8 kB / 0.8011 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.2364, allocations: 15.86 kB / 0.8012 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.2367, allocations: 161.9 kB / 0.8013 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.2367, allocations: 4 kB / 0.8013 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2367, allocations: 4 kB / 0.8013 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2367, allocations: 3.984 kB / 0.8013 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.2369, allocations: 217.5 kB / 0.8015 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2369, allocations: 7.938 kB / 0.8015 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.192e-05/0.237, allocations: 27.98 kB / 0.8016 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.237, allocations: 0 / 0.8016 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.237, allocations: 7.953 kB / 0.8016 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.237, allocations: 0 / 0.8016 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.237, allocations: 0 / 0.8016 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.2372, allocations: 219.6 kB / 0.8018 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.2373, allocations: 108.8 kB / 0.8019 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.2374, allocations: 4 kB / 0.8019 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.2375, allocations: 11.95 kB / 0.8019 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.2376, allocations: 7.984 kB / 0.8019 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.2376, allocations: 15.98 kB / 0.8019 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.931e-05/0.2377, allocations: 116 kB / 0.802 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2377, allocations: 0 / 0.802 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003439/0.238, allocations: 83.92 kB / 0.8021 GB, free: 11.88 MB / 0.6231 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.0002193/0.2382, allocations: 155.1 kB / 0.8023 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.2385, allocations: 116.5 kB / 0.8024 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2385, allocations: 4.25 kB / 0.8024 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.82e-05/0.2385, allocations: 47.86 kB / 0.8024 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.239, allocations: 55.05 kB / 0.8025 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.2396, allocations: 427.3 kB / 0.8029 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.2398, allocations: 0.7133 MB / 0.8036 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.24, allocations: 53.78 kB / 0.8036 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.24, allocations: 23.44 kB / 0.8037 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.24, allocations: 0 / 0.8037 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of Templates: time 0.005871/0.2459, allocations: 3.144 MB / 0.8067 GB, free: 7.133 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterProperties.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: