Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7536/0.7536, allocations: 127.4 MB / 134.9 MB, free: 3.477 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 178.4 kB / 164.6 MB, free: 11.6 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.2 MB / 399.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009975/0.0009975, allocations: 86.47 kB / 476.7 MB, free: 1.5 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.45e-05/1.454e-05, allocations: 2.188 kB / 0.5465 GB, free: 95.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1731, allocations: 76.77 MB / 0.6215 GB, free: 43.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7619/0.9351, allocations: 339.2 MB / 0.9528 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.9355, allocations: 72.11 kB / 0.9529 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.04786/0.9834, allocations: 19.4 MB / 0.9718 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9834, allocations: 0 / 0.9718 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.9835, allocations: 4 kB / 0.9718 GB, free: 7.793 MB / 0.6355 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.0008984/0.9844, allocations: 469 kB / 0.9722 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.9844, allocations: 8.031 kB / 0.9723 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.9846, allocations: 27.77 kB / 0.9723 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.985, allocations: 210 kB / 0.9725 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.985, allocations: 4 kB / 0.9725 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.985, allocations: 12 kB / 0.9725 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006243/0.9857, allocations: 413.2 kB / 0.9729 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.9861, allocations: 212.1 kB / 0.9731 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.9861, allocations: 4 kB / 0.9731 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.9861, allocations: 0 / 0.9731 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/0.9862, allocations: 19.27 kB / 0.9731 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.9875, allocations: 0.9917 MB / 0.9741 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.9879, allocations: 137.7 kB / 0.9742 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.988, allocations: 52.75 kB / 0.9743 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002011/0.99, allocations: 1.937 MB / 0.9762 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.9901, allocations: 38.5 kB / 0.9762 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.9901, allocations: 0 / 0.9762 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006271/0.9907, allocations: 135.8 kB / 0.9763 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.9908, allocations: 51.41 kB / 0.9764 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.9909, allocations: 135.3 kB / 0.9765 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.991, allocations: 25.7 kB / 0.9765 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.9911, allocations: 143 kB / 0.9767 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.9911, allocations: 54.31 kB / 0.9767 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.9912, allocations: 0 / 0.9767 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9913, allocations: 325.8 kB / 0.977 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.99e-05/0.9914, allocations: 27.56 kB / 0.9771 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.9915, allocations: 131.7 kB / 0.9772 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.9919, allocations: 78.44 kB / 0.9773 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.9919, allocations: 4 kB / 0.9773 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005696/0.9925, allocations: 201 kB / 0.9774 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.9925, allocations: 16.41 kB / 0.9775 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.9926, allocations: 8 kB / 0.9775 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.9926, allocations: 4 kB / 0.9775 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.9928, allocations: 55.91 kB / 0.9775 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.9928, allocations: 4 kB / 0.9775 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.993, allocations: 23.69 kB / 0.9776 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.993, allocations: 15.62 kB / 0.9776 GB, free: 1.617 MB / 0.6355 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 () * 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.0001089/0.9931, allocations: 108.9 kB / 0.9777 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.9932, allocations: 11.91 kB / 0.9777 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.9937, allocations: 182.8 kB / 0.9779 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.9937, allocations: 0 / 0.9779 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.9937, allocations: 4 kB / 0.9779 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.9937, allocations: 0 / 0.9779 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.994, allocations: 184.9 kB / 0.978 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.994, allocations: 0 / 0.978 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.9941, allocations: 27.92 kB / 0.9781 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.9941, allocations: 7.938 kB / 0.9781 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.9942, allocations: 0 / 0.9781 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.9942, allocations: 7.938 kB / 0.9781 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.9942, allocations: 3.953 kB / 0.9781 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.9946, allocations: 236.7 kB / 0.9783 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.9948, allocations: 115.6 kB / 0.9784 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.9948, allocations: 0 / 0.9784 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.995, allocations: 4 kB / 0.9784 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.995, allocations: 15.67 kB / 0.9784 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.995, allocations: 19.94 kB / 0.9785 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.063e-05/0.9951, allocations: 106 kB / 0.9786 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9951, allocations: 0 / 0.9786 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004397/0.9956, allocations: 71.12 kB / 0.9786 GB, free: 0.5352 MB / 0.6355 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 () * 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.000316/0.9959, allocations: 186.5 kB / 0.9788 GB, free: 356 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.9961, allocations: 106.2 kB / 0.9789 GB, free: 268 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9961, allocations: 0 / 0.9789 GB, free: 268 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.807e-05/0.9962, allocations: 43.23 kB / 0.9789 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.9965, allocations: 27.66 kB / 0.979 GB, free: 208 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.9971, allocations: 153.7 kB / 0.9791 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3262/1.323, allocations: 0.7222 MB / 0.9798 GB, free: 233.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002793/1.324, allocations: 39.97 kB / 0.9799 GB, free: 233.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/1.324, allocations: 25.88 kB / 0.9799 GB, free: 233.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/1.324, allocations: 0 / 0.9799 GB, free: 233.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.007269/1.331, allocations: 2.858 MB / 0.9827 GB, free: 233.3 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)