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.001293/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001483/0.001483, allocations: 192.1 kB / 16.13 MB, free: 6.656 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.545/1.545, allocations: 205.1 MB / 222 MB, free: 4.727 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.739/1.739, allocations: 292.3 MB / 0.5484 GB, free: 13.72 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.001283/0.001283, allocations: 66.78 kB / 0.6708 GB, free: 26.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.231, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.008204/0.2393, allocations: 4.735 MB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.2423, allocations: 2.71 MB / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.2425, allocations: 0 / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.2428, allocations: 35.81 kB / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.2431, allocations: 91.48 kB / 0.79 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.2443, allocations: 441.3 kB / 0.7905 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.2446, allocations: 295.9 kB / 0.7907 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.2447, allocations: 17.55 kB / 0.7908 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.2449, allocations: 107.6 kB / 0.7909 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.2451, allocations: 95.66 kB / 0.791 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.2451, allocations: 8 kB / 0.791 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007235/0.2458, allocations: 351.2 kB / 0.7913 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.937e-05/0.2459, allocations: 43.81 kB / 0.7913 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.246, allocations: 79.66 kB / 0.7914 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006923/0.2467, allocations: 347.4 kB / 0.7918 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2468, allocations: 0 / 0.7918 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2468, allocations: 4 kB / 0.7918 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2468, allocations: 0 / 0.7918 GB, free: 4.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.0008285/0.2476, allocations: 0.4915 MB / 0.7922 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2477, allocations: 12.03 kB / 0.7922 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.2479, allocations: 24.73 kB / 0.7923 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.2481, allocations: 204.2 kB / 0.7925 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.2481, allocations: 16.69 kB / 0.7925 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.2481, allocations: 16.38 kB / 0.7925 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.2486, allocations: 252.1 kB / 0.7927 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2486, allocations: 3.984 kB / 0.7927 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.2486, allocations: 8 kB / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.2486, allocations: 8 kB / 0.7928 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004717/0.2491, allocations: 431.4 kB / 0.7932 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.2502, allocations: 0.9371 MB / 0.7941 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.2506, allocations: 168.9 kB / 0.7942 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2507, allocations: 64.88 kB / 0.7943 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/0.252, allocations: 1.829 MB / 0.7961 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.2521, allocations: 34.56 kB / 0.7961 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.2521, allocations: 0 / 0.7961 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003299/0.2524, allocations: 149.4 kB / 0.7963 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.2525, allocations: 55.34 kB / 0.7963 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.2526, allocations: 168.4 kB / 0.7965 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.2526, allocations: 29.7 kB / 0.7965 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.2527, allocations: 151.7 kB / 0.7967 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.2528, allocations: 55.2 kB / 0.7967 GB, free: 15 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.2528, allocations: 45.7 kB / 0.7967 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.253, allocations: 322.8 kB / 0.7971 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.265e-05/0.253, allocations: 47.97 kB / 0.7971 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.2532, allocations: 133.7 kB / 0.7972 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.2534, allocations: 205 kB / 0.7974 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2534, allocations: 4 kB / 0.7974 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003352/0.2537, allocations: 213.1 kB / 0.7976 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2538, allocations: 8 kB / 0.7976 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2538, allocations: 480 / 0.7976 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2538, allocations: 12 kB / 0.7977 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.254, allocations: 59.78 kB / 0.7977 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.254, allocations: 8 kB / 0.7977 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.2541, allocations: 31.69 kB / 0.7977 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.2542, allocations: 12 kB / 0.7978 GB, free: 13.81 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.491e-05/0.2543, allocations: 125.8 kB / 0.7979 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.2543, allocations: 19.81 kB / 0.7979 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.2546, allocations: 166.9 kB / 0.7981 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.2546, allocations: 7.938 kB / 0.7981 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2547, allocations: 0 / 0.7981 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2547, allocations: 0 / 0.7981 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.2549, allocations: 213.5 kB / 0.7983 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2549, allocations: 0 / 0.7983 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-05/0.255, allocations: 24 kB / 0.7983 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.255, allocations: 0 / 0.7983 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.255, allocations: 3.984 kB / 0.7983 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.2551, allocations: 7.938 kB / 0.7983 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2551, allocations: 3.984 kB / 0.7983 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.2553, allocations: 223.5 kB / 0.7985 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.374e-05/0.2554, allocations: 104.9 kB / 0.7986 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.2554, allocations: 11.98 kB / 0.7986 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.2556, allocations: 7.938 kB / 0.7986 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.2557, allocations: 11.98 kB / 0.7986 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2557, allocations: 8 kB / 0.7987 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.03e-05/0.2558, allocations: 123.9 kB / 0.7988 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2558, allocations: 3.938 kB / 0.7988 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003855/0.2562, allocations: 75.94 kB / 0.7989 GB, free: 12.59 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 (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.0003392/0.2565, allocations: 175.1 kB / 0.799 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.2568, allocations: 126.5 kB / 0.7991 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2568, allocations: 0 / 0.7991 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.031e-05/0.2569, allocations: 43.92 kB / 0.7992 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.2573, allocations: 56.88 kB / 0.7992 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.2581, allocations: 384.3 kB / 0.7996 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.2584, allocations: 0.717 MB / 0.8003 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000184/0.2586, allocations: 37.83 kB / 0.8003 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.2587, allocations: 35.31 kB / 0.8004 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.2587, allocations: 0 / 0.8004 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of Templates: time 0.006807/0.2655, allocations: 3.296 MB / 0.8036 GB, free: 7.719 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterProperties.makefile (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)