Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009356/0.0009355, allocations: 92.95 kB / 16.02 MB, free: 84 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.001044/0.001044, allocations: 185.1 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6758/0.6758, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005173/0.0005174, allocations: 8 kB / 496 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1676, allocations: 77.53 MB / 0.56 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01639/0.184, allocations: 13.36 MB / 0.5731 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.1868, allocations: 2.644 MB / 0.5757 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.1869, allocations: 0 / 0.5757 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.1872, allocations: 43.8 kB / 0.5757 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.1875, allocations: 87.48 kB / 0.5758 GB, free: 8.746 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1887, allocations: 472.7 kB / 0.5763 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.189, allocations: 303.9 kB / 0.5765 GB, free: 7.992 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.189, allocations: 9.562 kB / 0.5765 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006998/0.196, allocations: 3.154 MB / 0.5796 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1962, allocations: 87.67 kB / 0.5797 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1962, allocations: 4 kB / 0.5797 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.1985, allocations: 0.978 MB / 0.5807 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.1986, allocations: 35.89 kB / 0.5807 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1987, allocations: 109.3 kB / 0.5808 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000628/0.1993, allocations: 359.1 kB / 0.5812 GB, free: 3.246 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1993, allocations: 0 / 0.5812 GB, free: 3.246 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1993, allocations: 0 / 0.5812 GB, free: 3.246 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1993, allocations: 0 / 0.5812 GB, free: 3.246 MB / 446.1 MB 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.0006534/0.2, allocations: 483.2 kB / 0.5816 GB, free: 2.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2, allocations: 8.031 kB / 0.5816 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.2001, allocations: 54.73 kB / 0.5817 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.2003, allocations: 24.73 kB / 0.5817 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.2005, allocations: 212.1 kB / 0.5819 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2005, allocations: 16.64 kB / 0.5819 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.2005, allocations: 12.38 kB / 0.5819 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.2009, allocations: 252.7 kB / 0.5822 GB, free: 2.094 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2009, allocations: 0 / 0.5822 GB, free: 2.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.2009, allocations: 8 kB / 0.5822 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.201, allocations: 4 kB / 0.5822 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.2015, allocations: 435.3 kB / 0.5826 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.2025, allocations: 0.9643 MB / 0.5835 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.2028, allocations: 158.2 kB / 0.5837 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.2029, allocations: 64.88 kB / 0.5837 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2365/0.4394, allocations: 1.82 MB / 0.5855 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.4395, allocations: 35.31 kB / 0.5856 GB, free: 31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.4395, allocations: 0.5625 kB / 0.5856 GB, free: 31 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003365/0.4398, allocations: 155 kB / 0.5857 GB, free: 30.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.923e-05/0.4399, allocations: 55.66 kB / 0.5858 GB, free: 30.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.44, allocations: 165.5 kB / 0.5859 GB, free: 30.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.44, allocations: 30.02 kB / 0.5859 GB, free: 30.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.4401, allocations: 143.3 kB / 0.5861 GB, free: 30.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.4401, allocations: 57.56 kB / 0.5861 GB, free: 30.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.4402, allocations: 26.81 kB / 0.5862 GB, free: 30.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.4402, allocations: 327.9 kB / 0.5865 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.811e-05/0.4403, allocations: 36.53 kB / 0.5865 GB, free: 30.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/0.4404, allocations: 137 kB / 0.5866 GB, free: 30.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.4406, allocations: 202.9 kB / 0.5868 GB, free: 30.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4406, allocations: 1.375 kB / 0.5868 GB, free: 30.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003097/0.4409, allocations: 218.8 kB / 0.587 GB, free: 29.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.441, allocations: 10.34 kB / 0.5871 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.441, allocations: 3.781 kB / 0.5871 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.441, allocations: 5.562 kB / 0.5871 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.4412, allocations: 53.72 kB / 0.5871 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.4412, allocations: 9.734 kB / 0.5871 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.4413, allocations: 27.62 kB / 0.5872 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.4414, allocations: 18.56 kB / 0.5872 GB, free: 29.94 MB / 446.1 MB 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 8.434e-05/0.4414, allocations: 128.6 kB / 0.5873 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.4415, allocations: 17.19 kB / 0.5873 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.4418, allocations: 162.8 kB / 0.5875 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.4418, allocations: 1.531 kB / 0.5875 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4418, allocations: 0 / 0.5875 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4418, allocations: 2.188 kB / 0.5875 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.4421, allocations: 218.7 kB / 0.5877 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4421, allocations: 4.438 kB / 0.5877 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.178e-05/0.4422, allocations: 27.33 kB / 0.5877 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4422, allocations: 5.031 kB / 0.5877 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4422, allocations: 10.84 kB / 0.5877 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4422, allocations: 1.688 kB / 0.5877 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4422, allocations: 0 / 0.5877 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.4424, allocations: 215.2 kB / 0.5879 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.4425, allocations: 123.2 kB / 0.588 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.4425, allocations: 9.672 kB / 0.5881 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.4427, allocations: 16.23 kB / 0.5881 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.4428, allocations: 11.69 kB / 0.5881 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.4428, allocations: 11.44 kB / 0.5881 GB, free: 29.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.342e-05/0.4429, allocations: 118 kB / 0.5882 GB, free: 29.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4429, allocations: 0.7188 kB / 0.5882 GB, free: 29.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004006/0.4433, allocations: 85.41 kB / 0.5883 GB, free: 29.24 MB / 446.1 MB 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.0005694/0.4439, allocations: 0.8433 MB / 0.5891 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.4441, allocations: 114 kB / 0.5892 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4441, allocations: 0.9062 kB / 0.5892 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.565e-05/0.4442, allocations: 43.02 kB / 0.5893 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.4447, allocations: 53.17 kB / 0.5893 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.4465, allocations: 2.108 MB / 0.5914 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.4467, allocations: 0.7177 MB / 0.5921 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.4469, allocations: 55.45 kB / 0.5921 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.4469, allocations: 49.88 kB / 0.5922 GB, free: 26.3 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4469, allocations: 0 / 0.5922 GB, free: 26.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.299/1.746, allocations: 5.143 MB / 0.5972 GB, free: 25.78 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/1.746, allocations: 212.6 kB / 0.5974 GB, free: 25.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/4.282, allocations: 0 / 0.5974 GB, free: 25.52 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)