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: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.808/2.808, allocations: 287.5 MB / 302.4 MB, free: 8.203 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.001319/0.00132, allocations: 194.6 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.176/2.176, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008799/0.0008798, allocations: 86.36 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006367/0.0006369, allocations: 10.94 kB / 0.8658 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2128, allocations: 115.3 MB / 0.9783 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005323/0.2182, allocations: 4.196 MB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003169/0.2214, allocations: 2.471 MB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.2216, allocations: 0 / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.2219, allocations: 35.75 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.2222, allocations: 87.48 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.2236, allocations: 397.6 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.2239, allocations: 251.9 kB / 0.9856 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.224, allocations: 17.48 kB / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.2242, allocations: 107.6 kB / 0.9857 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.2244, allocations: 83.72 kB / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.2244, allocations: 8 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008411/0.2253, allocations: 251.4 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.2254, allocations: 39.89 kB / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.2254, allocations: 53.64 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.2259, allocations: 211.7 kB / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2259, allocations: 0 / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.915e-06/0.2259, allocations: 0 / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2259, allocations: 0 / 0.9863 GB, free: 20.2 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.0007089/0.2266, allocations: 475.1 kB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2267, allocations: 12.02 kB / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.2269, allocations: 23.84 kB / 0.9868 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.2271, allocations: 210.7 kB / 0.987 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2271, allocations: 16.33 kB / 0.987 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.2271, allocations: 12 kB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.2276, allocations: 244 kB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2276, allocations: 0 / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.2277, allocations: 15.98 kB / 0.9873 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.2277, allocations: 15.89 kB / 0.9873 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005938/0.2283, allocations: 423.5 kB / 0.9877 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.2296, allocations: 0.941 MB / 0.9886 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.23, allocations: 159 kB / 0.9888 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.2301, allocations: 64.88 kB / 0.9888 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.2314, allocations: 1.825 MB / 0.9906 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.2315, allocations: 38.56 kB / 0.9906 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.345e-06/0.2315, allocations: 0 / 0.9906 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004125/0.2319, allocations: 147 kB / 0.9908 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.232, allocations: 55.41 kB / 0.9908 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.2321, allocations: 169 kB / 0.991 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.2322, allocations: 29.69 kB / 0.991 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.2322, allocations: 139.8 kB / 0.9912 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.2323, allocations: 55.2 kB / 0.9912 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.2323, allocations: 4 kB / 0.9912 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.2324, allocations: 322.8 kB / 0.9915 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-05/0.2325, allocations: 35.97 kB / 0.9916 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.2326, allocations: 146.2 kB / 0.9917 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.2328, allocations: 51.98 kB / 0.9918 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2328, allocations: 4 kB / 0.9918 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004222/0.2332, allocations: 218.8 kB / 0.992 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2333, allocations: 5.562 kB / 0.992 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2333, allocations: 4 kB / 0.992 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.2333, allocations: 8 kB / 0.992 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.2337, allocations: 56.38 kB / 0.992 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2337, allocations: 8 kB / 0.992 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.2339, allocations: 35.62 kB / 0.9921 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.2339, allocations: 12 kB / 0.9921 GB, free: 13.61 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.0001119/0.234, allocations: 133.7 kB / 0.9922 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.2341, allocations: 19.86 kB / 0.9922 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.2345, allocations: 158.9 kB / 0.9924 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.2345, allocations: 0 / 0.9924 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2345, allocations: 4 kB / 0.9924 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2346, allocations: 0 / 0.9924 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.2348, allocations: 217.5 kB / 0.9926 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2348, allocations: 4 kB / 0.9926 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.235, allocations: 23.92 kB / 0.9926 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.235, allocations: 7.953 kB / 0.9926 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2351, allocations: 7.984 kB / 0.9926 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2351, allocations: 0 / 0.9926 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2351, allocations: 0 / 0.9926 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.2353, allocations: 212.5 kB / 0.9928 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.324e-05/0.2355, allocations: 116.8 kB / 0.993 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.2355, allocations: 7.953 kB / 0.993 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.2358, allocations: 8 kB / 0.993 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.2358, allocations: 11.98 kB / 0.993 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.2359, allocations: 11.98 kB / 0.993 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.52e-05/0.236, allocations: 124.2 kB / 0.9931 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.236, allocations: 0 / 0.9931 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004897/0.2365, allocations: 79.94 kB / 0.9932 GB, free: 12.38 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.0003028/0.2368, allocations: 159.1 kB / 0.9933 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002966/0.2371, allocations: 114.5 kB / 0.9934 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2371, allocations: 12 kB / 0.9935 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.343e-05/0.2372, allocations: 47.84 kB / 0.9935 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.2379, allocations: 55.91 kB / 0.9936 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00081/0.2388, allocations: 419.4 kB / 0.994 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.239, allocations: 0.7133 MB / 0.9947 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002739/0.2392, allocations: 49.8 kB / 0.9947 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.2393, allocations: 27.42 kB / 0.9947 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.2393, allocations: 4 kB / 0.9947 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.008801/0.2481, allocations: 3.138 MB / 0.9978 GB, free: 7.637 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.makefile (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 & ./Buildings_8.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)