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.7683/0.7683, allocations: 128.7 MB / 143.7 MB, free: 2.312 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.001091/0.001091, allocations: 186.3 kB / 173.7 MB, free: 6.129 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.743/1.743, allocations: 205.4 MB / 409 MB, free: 10.5 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.0008233/0.0008233, allocations: 94.61 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003436, allocations: 7.938 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1612, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.742/0.9032, allocations: 340 MB / 0.9674 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.9035, allocations: 72.89 kB / 0.9675 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04703/0.9506, allocations: 19.57 MB / 0.9866 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.674e-06/0.9506, allocations: 0 / 0.9866 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.9506, allocations: 4 kB / 0.9866 GB, free: 1.934 MB / 0.6511 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.0008104/0.9514, allocations: 486.1 kB / 0.987 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.9515, allocations: 8.031 kB / 0.987 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.547e-05/0.9516, allocations: 57.11 kB / 0.9871 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.9518, allocations: 23.77 kB / 0.9871 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.952, allocations: 209.5 kB / 0.9873 GB, free: 1.102 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.952, allocations: 19.81 kB / 0.9873 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.9521, allocations: 15.31 kB / 0.9874 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.9524, allocations: 243.1 kB / 0.9876 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.9525, allocations: 0 / 0.9876 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.9525, allocations: 7.75 kB / 0.9876 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.9525, allocations: 11.89 kB / 0.9876 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.953, allocations: 427.5 kB / 0.988 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3371/1.29, allocations: 1.03 MB / 0.989 GB, free: 240.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/1.291, allocations: 166.4 kB / 0.9892 GB, free: 240.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/1.292, allocations: 1.849 MB / 0.991 GB, free: 238.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/1.292, allocations: 36.81 kB / 0.991 GB, free: 238.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/1.292, allocations: 1.062 kB / 0.991 GB, free: 238.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003475/1.292, allocations: 146.3 kB / 0.9912 GB, free: 238.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/1.292, allocations: 53.22 kB / 0.9912 GB, free: 238.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/1.292, allocations: 155.9 kB / 0.9914 GB, free: 238 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/1.292, allocations: 32.62 kB / 0.9914 GB, free: 238 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/1.292, allocations: 137 kB / 0.9915 GB, free: 237.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/1.292, allocations: 53.84 kB / 0.9916 GB, free: 237.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/1.293, allocations: 4.828 kB / 0.9916 GB, free: 237.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/1.293, allocations: 332 kB / 0.9919 GB, free: 237.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/1.293, allocations: 37.44 kB / 0.9919 GB, free: 237.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.907e-05/1.293, allocations: 143.1 kB / 0.9921 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.259e-05/1.293, allocations: 54.06 kB / 0.9921 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.293, allocations: 3.625 kB / 0.9921 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002861/1.293, allocations: 213.7 kB / 0.9923 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.293, allocations: 9.344 kB / 0.9923 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.293, allocations: 4.25 kB / 0.9923 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.293, allocations: 5.875 kB / 0.9923 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/1.293, allocations: 62.25 kB / 0.9924 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.293, allocations: 6.766 kB / 0.9924 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/1.294, allocations: 31.38 kB / 0.9924 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/1.294, allocations: 11.45 kB / 0.9924 GB, free: 237.4 MB / 0.6511 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 8.58e-05/1.294, allocations: 140.8 kB / 0.9926 GB, free: 237.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/1.294, allocations: 10.88 kB / 0.9926 GB, free: 237.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/1.294, allocations: 160 kB / 0.9927 GB, free: 237.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/1.294, allocations: 5.344 kB / 0.9927 GB, free: 237.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.294, allocations: 0 / 0.9927 GB, free: 237.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.294, allocations: 0 / 0.9927 GB, free: 237.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/1.294, allocations: 219.7 kB / 0.993 GB, free: 237 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.294, allocations: 2.844 kB / 0.993 GB, free: 237 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/1.294, allocations: 35.27 kB / 0.993 GB, free: 237 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.294, allocations: 1.469 kB / 0.993 GB, free: 237 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/1.294, allocations: 4.703 kB / 0.993 GB, free: 237 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.294, allocations: 0 / 0.993 GB, free: 237 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.294, allocations: 4.031 kB / 0.993 GB, free: 237 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/1.295, allocations: 216.3 kB / 0.9932 GB, free: 236.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/1.295, allocations: 115.3 kB / 0.9933 GB, free: 236.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/1.295, allocations: 9.781 kB / 0.9933 GB, free: 236.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/1.295, allocations: 9.625 kB / 0.9933 GB, free: 236.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/1.295, allocations: 10.16 kB / 0.9933 GB, free: 236.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/1.295, allocations: 7.594 kB / 0.9934 GB, free: 236.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.316e-05/1.295, allocations: 120.9 kB / 0.9935 GB, free: 236.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.295, allocations: 1.031 kB / 0.9935 GB, free: 236.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000415/1.295, allocations: 83.39 kB / 0.9936 GB, free: 236.7 MB / 0.6511 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.0005608/1.296, allocations: 0.849 MB / 0.9944 GB, free: 236 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002103/1.296, allocations: 121.8 kB / 0.9945 GB, free: 236 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.296, allocations: 0 / 0.9945 GB, free: 236 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.603e-05/1.296, allocations: 46.7 kB / 0.9945 GB, free: 236 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/1.297, allocations: 47.88 kB / 0.9946 GB, free: 236 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/1.298, allocations: 3.253 MB / 0.9978 GB, free: 233.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/1.298, allocations: 0.7186 MB / 0.9985 GB, free: 232.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001755/1.299, allocations: 44.58 kB / 0.9985 GB, free: 232.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/1.299, allocations: 46.2 kB / 0.9986 GB, free: 232.5 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.299, allocations: 0 / 0.9986 GB, free: 232.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/1.318, allocations: 5.015 MB / 1.003 GB, free: 232.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/1.318, allocations: 172 kB / 1.004 GB, free: 231.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/3.09, allocations: 1 kB / 1.004 GB, free: 231.8 MB / 0.6511 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)