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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.802/0.802, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 188.7 kB / 169.7 MB, free: 1.734 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.907/1.907, allocations: 205.1 MB / 404.5 MB, free: 1.648 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.001143/0.001143, allocations: 79.75 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.286e-05/4.322e-05, allocations: 3.984 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1714, allocations: 76.75 MB / 0.6282 GB, free: 9.949 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.26/1.431, allocations: 339.9 MB / 0.9602 GB, free: 194.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.431, allocations: 63.97 kB / 0.9602 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03937/1.471, allocations: 19.52 MB / 0.9793 GB, free: 174.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/1.471, allocations: 0 / 0.9793 GB, free: 174.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.093e-05/1.471, allocations: 4 kB / 0.9793 GB, free: 174.8 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.0007233/1.471, allocations: 471.4 kB / 0.9797 GB, free: 174.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.472, allocations: 8.031 kB / 0.9797 GB, free: 174.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.366e-05/1.472, allocations: 54.53 kB / 0.9798 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/1.472, allocations: 27.75 kB / 0.9798 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/1.472, allocations: 206.8 kB / 0.98 GB, free: 173.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/1.472, allocations: 16.25 kB / 0.98 GB, free: 173.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/1.472, allocations: 20 kB / 0.9801 GB, free: 173.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/1.472, allocations: 233 kB / 0.9803 GB, free: 173.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.472, allocations: 0 / 0.9803 GB, free: 173.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/1.472, allocations: 8 kB / 0.9803 GB, free: 173.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/1.472, allocations: 15.88 kB / 0.9803 GB, free: 173.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/1.473, allocations: 431.5 kB / 0.9807 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009554/1.474, allocations: 1.039 MB / 0.9817 GB, free: 172.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/1.474, allocations: 156 kB / 0.9819 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.834e-05/1.474, allocations: 60.89 kB / 0.9819 GB, free: 171.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.475, allocations: 1.942 MB / 0.9838 GB, free: 169.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/1.475, allocations: 38.56 kB / 0.9839 GB, free: 169.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/1.475, allocations: 0 / 0.9839 GB, free: 169.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.000282/1.476, allocations: 114.2 kB / 0.984 GB, free: 169.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/1.476, allocations: 59.39 kB / 0.984 GB, free: 169.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/1.476, allocations: 150.5 kB / 0.9842 GB, free: 169.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/1.476, allocations: 29.7 kB / 0.9842 GB, free: 169.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/1.476, allocations: 139.8 kB / 0.9843 GB, free: 169 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/1.476, allocations: 55.25 kB / 0.9844 GB, free: 168.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/1.476, allocations: 4 kB / 0.9844 GB, free: 168.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.905e-05/1.476, allocations: 322.8 kB / 0.9847 GB, free: 168.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/1.476, allocations: 36.48 kB / 0.9847 GB, free: 168.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.921e-05/1.476, allocations: 137.7 kB / 0.9849 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.346e-05/1.476, allocations: 64.69 kB / 0.9849 GB, free: 168.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.476, allocations: 3.938 kB / 0.9849 GB, free: 168.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002947/1.477, allocations: 210.4 kB / 0.9851 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.477, allocations: 8.469 kB / 0.9851 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.477, allocations: 8 kB / 0.9851 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/1.477, allocations: 7.984 kB / 0.9852 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/1.477, allocations: 51.92 kB / 0.9852 GB, free: 168 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/1.477, allocations: 11.98 kB / 0.9852 GB, free: 168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/1.477, allocations: 27.69 kB / 0.9852 GB, free: 168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/1.477, allocations: 15.94 kB / 0.9853 GB, free: 168 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 6.414e-05/1.477, allocations: 120.9 kB / 0.9854 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/1.477, allocations: 15.86 kB / 0.9854 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/1.477, allocations: 163.5 kB / 0.9855 GB, free: 167.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.478, allocations: 0 / 0.9855 GB, free: 167.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.478, allocations: 7.984 kB / 0.9855 GB, free: 167.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.478, allocations: 0 / 0.9855 GB, free: 167.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/1.478, allocations: 209.5 kB / 0.9857 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.478, allocations: 0 / 0.9857 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/1.478, allocations: 23.98 kB / 0.9858 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.478, allocations: 7.953 kB / 0.9858 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/1.478, allocations: 11.98 kB / 0.9858 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.478, allocations: 4 kB / 0.9858 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.478, allocations: 0 / 0.9858 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/1.478, allocations: 218.1 kB / 0.986 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/1.478, allocations: 112.9 kB / 0.9861 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/1.478, allocations: 7.953 kB / 0.9861 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/1.478, allocations: 11.98 kB / 0.9861 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/1.478, allocations: 11.98 kB / 0.9861 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/1.478, allocations: 8 kB / 0.9861 GB, free: 167 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.448e-05/1.479, allocations: 116.9 kB / 0.9863 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/1.479, allocations: 0 / 0.9863 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003902/1.479, allocations: 83.92 kB / 0.9863 GB, free: 166.8 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.0005625/1.48, allocations: 0.8426 MB / 0.9872 GB, free: 165.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001968/1.48, allocations: 114.3 kB / 0.9873 GB, free: 165.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.48, allocations: 0 / 0.9873 GB, free: 165.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.106e-05/1.48, allocations: 43.88 kB / 0.9873 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/1.48, allocations: 60.77 kB / 0.9874 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/1.481, allocations: 235.8 kB / 0.9876 GB, free: 165.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/1.481, allocations: 0.717 MB / 0.9883 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001812/1.481, allocations: 45.88 kB / 0.9883 GB, free: 164.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/1.481, allocations: 47.42 kB / 0.9884 GB, free: 164.6 MB / 0.6355 GB Notification: Performance of SimCode: time 5e-07/1.481, allocations: 0 / 0.9884 GB, free: 164.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/1.499, allocations: 5.051 MB / 0.9933 GB, free: 159.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/1.5, allocations: 147 kB / 0.9935 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/3.279, allocations: 0 / 0.9935 GB, free: 159.4 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)