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.001271/0.001271, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 195.2 kB / 16.64 MB, free: 6.453 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.483/1.483, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.881/1.881, allocations: 292.3 MB / 0.549 GB, free: 12.7 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.001404/0.001404, allocations: 65.64 kB / 0.6722 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.23, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00623/0.2363, allocations: 4.719 MB / 0.7887 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003282/0.2396, allocations: 2.683 MB / 0.7913 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-05/0.2397, allocations: 0 / 0.7913 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.24, allocations: 39.69 kB / 0.7914 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.2403, allocations: 95.41 kB / 0.7915 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.2415, allocations: 497 kB / 0.7919 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.2418, allocations: 231.9 kB / 0.7922 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.2419, allocations: 5.562 kB / 0.7922 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.2421, allocations: 119.6 kB / 0.7923 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.2422, allocations: 83.67 kB / 0.7924 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.2423, allocations: 8 kB / 0.7924 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006117/0.2429, allocations: 351.3 kB / 0.7927 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.2431, allocations: 39.89 kB / 0.7927 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.531e-05/0.2432, allocations: 79.64 kB / 0.7928 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.2436, allocations: 351 kB / 0.7932 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2437, allocations: 0 / 0.7932 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2437, allocations: 0 / 0.7932 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2437, allocations: 0 / 0.7932 GB, free: 3.453 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.0007275/0.2444, allocations: 0.4954 MB / 0.7936 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2444, allocations: 8.031 kB / 0.7936 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.2446, allocations: 24.75 kB / 0.7937 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.2449, allocations: 212.1 kB / 0.7939 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.2449, allocations: 8.703 kB / 0.7939 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.245, allocations: 20.31 kB / 0.7939 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.2453, allocations: 248.1 kB / 0.7941 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2454, allocations: 0 / 0.7941 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.2454, allocations: 8 kB / 0.7941 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.2454, allocations: 16 kB / 0.7942 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.2459, allocations: 431.5 kB / 0.7946 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.247, allocations: 0.9371 MB / 0.7955 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.2473, allocations: 166.1 kB / 0.7956 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.2474, allocations: 64.88 kB / 0.7957 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.2487, allocations: 1.825 MB / 0.7975 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.2488, allocations: 42.56 kB / 0.7975 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.2488, allocations: 0 / 0.7975 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.000326/0.2491, allocations: 145.4 kB / 0.7977 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.2492, allocations: 55.34 kB / 0.7977 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.2493, allocations: 164.4 kB / 0.7979 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.2494, allocations: 29.7 kB / 0.7979 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/0.2494, allocations: 147.8 kB / 0.798 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.2495, allocations: 51.2 kB / 0.7981 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.2496, allocations: 57.64 kB / 0.7981 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2497, allocations: 322.8 kB / 0.7985 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.87e-05/0.2498, allocations: 39.97 kB / 0.7985 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2499, allocations: 145.7 kB / 0.7986 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.2501, allocations: 200.2 kB / 0.7988 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2502, allocations: 0 / 0.7988 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003285/0.2505, allocations: 225.4 kB / 0.799 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2505, allocations: 4 kB / 0.799 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2505, allocations: 4 kB / 0.799 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.2506, allocations: 11.94 kB / 0.7991 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.2507, allocations: 55.86 kB / 0.7991 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.2508, allocations: 11.97 kB / 0.7991 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.2509, allocations: 27.69 kB / 0.7991 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.2509, allocations: 16 kB / 0.7992 GB, free: 12.56 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 0.0001006/0.251, allocations: 125.9 kB / 0.7993 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.2511, allocations: 19.81 kB / 0.7993 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.2514, allocations: 155 kB / 0.7994 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.2514, allocations: 3.938 kB / 0.7995 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.2514, allocations: 3.984 kB / 0.7995 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2514, allocations: 3.938 kB / 0.7995 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.2517, allocations: 213.5 kB / 0.7997 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2517, allocations: 0 / 0.7997 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/0.2518, allocations: 27.98 kB / 0.7997 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2518, allocations: 4 kB / 0.7997 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.2518, allocations: 7.938 kB / 0.7997 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2518, allocations: 3.938 kB / 0.7997 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2518, allocations: 0 / 0.7997 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.2521, allocations: 230.3 kB / 0.7999 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.946e-05/0.2522, allocations: 104.9 kB / 0.8 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.2522, allocations: 0 / 0.8 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.2524, allocations: 15.92 kB / 0.8 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.2524, allocations: 4 kB / 0.8 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.2525, allocations: 19.98 kB / 0.8001 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.297e-05/0.2526, allocations: 122.1 kB / 0.8002 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2526, allocations: 0 / 0.8002 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003874/0.253, allocations: 79.92 kB / 0.8003 GB, free: 11.35 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.000302/0.2533, allocations: 175.1 kB / 0.8004 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.2535, allocations: 111.8 kB / 0.8005 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2535, allocations: 0 / 0.8005 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.2536, allocations: 43.92 kB / 0.8006 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.254, allocations: 60.83 kB / 0.8006 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.2547, allocations: 346.6 kB / 0.801 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.255, allocations: 0.7128 MB / 0.8017 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001605/0.2552, allocations: 53.78 kB / 0.8017 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.2552, allocations: 23.44 kB / 0.8017 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.2552, allocations: 0 / 0.8017 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of Templates: time 0.007357/0.2626, allocations: 3.386 MB / 0.805 GB, free: 6.434 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)