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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 96.41 kB / 15.05 MB, free: 1.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 181.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.098/1.098, allocations: 143.3 MB / 434.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004982, allocations: 12 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1984, allocations: 83.42 MB / 0.5973 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.004806/0.2032, allocations: 3.938 MB / 0.6012 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002392/0.2057, allocations: 2.167 MB / 0.6033 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.2058, allocations: 4 kB / 0.6033 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.206, allocations: 35.8 kB / 0.6033 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.2063, allocations: 75.81 kB / 0.6034 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009799/0.2073, allocations: 430.7 kB / 0.6038 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.2074, allocations: 152.7 kB / 0.604 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.725e-05/0.2075, allocations: 17.53 kB / 0.604 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.2077, allocations: 107.7 kB / 0.6041 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.2078, allocations: 71.75 kB / 0.6042 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.2079, allocations: 8 kB / 0.6042 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005935/0.2085, allocations: 303.4 kB / 0.6045 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.2086, allocations: 35.89 kB / 0.6045 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.2086, allocations: 53.64 kB / 0.6045 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.209, allocations: 215.8 kB / 0.6047 GB, free: 100 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.209, allocations: 0 / 0.6047 GB, free: 100 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.996e-06/0.209, allocations: 0 / 0.6047 GB, free: 100 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.209, allocations: 3.938 kB / 0.6048 GB, free: 96 kB / 0.4981 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.3256/0.5346, allocations: 469.6 kB / 0.6052 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5347, allocations: 9.281 kB / 0.6052 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.361e-05/0.5348, allocations: 53.38 kB / 0.6053 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.535, allocations: 25.55 kB / 0.6053 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.5352, allocations: 211.5 kB / 0.6055 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.5352, allocations: 16.06 kB / 0.6055 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.5352, allocations: 16.2 kB / 0.6055 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/0.5356, allocations: 235.3 kB / 0.6057 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5356, allocations: 3.844 kB / 0.6057 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.5357, allocations: 10.41 kB / 0.6058 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.5357, allocations: 10.7 kB / 0.6058 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.5361, allocations: 424.5 kB / 0.6062 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009472/0.5371, allocations: 1.002 MB / 0.6071 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.5373, allocations: 162.4 kB / 0.6073 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009494/0.5383, allocations: 1.841 MB / 0.6091 GB, free: 37.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.5383, allocations: 42.09 kB / 0.6091 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.5383, allocations: 0 / 0.6091 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000286/0.5386, allocations: 141.2 kB / 0.6093 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.5387, allocations: 59.2 kB / 0.6093 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.5388, allocations: 175.2 kB / 0.6095 GB, free: 37.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.5388, allocations: 34.17 kB / 0.6095 GB, free: 37.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.5389, allocations: 136.4 kB / 0.6097 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.5389, allocations: 54.28 kB / 0.6097 GB, free: 37.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.5389, allocations: 3.812 kB / 0.6097 GB, free: 37.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.539, allocations: 328.3 kB / 0.61 GB, free: 36.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.539, allocations: 36.98 kB / 0.6101 GB, free: 36.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.5391, allocations: 134 kB / 0.6102 GB, free: 36.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.676e-05/0.5392, allocations: 61.22 kB / 0.6103 GB, free: 36.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5392, allocations: 2.719 kB / 0.6103 GB, free: 36.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002658/0.5395, allocations: 212.5 kB / 0.6105 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5395, allocations: 8.531 kB / 0.6105 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.5395, allocations: 3.188 kB / 0.6105 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.5396, allocations: 5.938 kB / 0.6105 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.5397, allocations: 59.59 kB / 0.6105 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.5398, allocations: 9.938 kB / 0.6105 GB, free: 36.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.5399, allocations: 33.98 kB / 0.6106 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.5399, allocations: 11.94 kB / 0.6106 GB, free: 36.7 MB / 0.4981 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.15e-05/0.54, allocations: 136 kB / 0.6107 GB, free: 36.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.54, allocations: 13.59 kB / 0.6107 GB, free: 36.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.5403, allocations: 156 kB / 0.6109 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.5403, allocations: 6.641 kB / 0.6109 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5403, allocations: 3.938 kB / 0.6109 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5403, allocations: 0.75 kB / 0.6109 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.5405, allocations: 220.8 kB / 0.6111 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5405, allocations: 0 / 0.6111 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.5406, allocations: 29.2 kB / 0.6111 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5407, allocations: 0 / 0.6111 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.5407, allocations: 7.594 kB / 0.6111 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5407, allocations: 2.594 kB / 0.6111 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5407, allocations: 0.5625 kB / 0.6111 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.5409, allocations: 233.5 kB / 0.6114 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.162e-05/0.541, allocations: 117.9 kB / 0.6115 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.541, allocations: 7.906 kB / 0.6115 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.5412, allocations: 22.81 kB / 0.6115 GB, free: 36.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.5412, allocations: 10.23 kB / 0.6115 GB, free: 36.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.5413, allocations: 19.39 kB / 0.6115 GB, free: 36.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.611e-05/0.5413, allocations: 114.7 kB / 0.6116 GB, free: 36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5413, allocations: 0 / 0.6116 GB, free: 36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003772/0.5417, allocations: 81.41 kB / 0.6117 GB, free: 36 MB / 0.4981 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.0004533/0.5422, allocations: 0.8213 MB / 0.6125 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.5424, allocations: 118.7 kB / 0.6126 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5424, allocations: 0 / 0.6126 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.737e-05/0.5425, allocations: 44.14 kB / 0.6127 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.5429, allocations: 45.86 kB / 0.6127 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.5446, allocations: 3.262 MB / 0.6159 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.5448, allocations: 0.7185 MB / 0.6166 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.545, allocations: 52.5 kB / 0.6167 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.545, allocations: 43.19 kB / 0.6167 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.545, allocations: 0 / 0.6167 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.5596, allocations: 4.851 MB / 0.6214 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/0.5599, allocations: 175.3 kB / 0.6216 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.363, allocations: 0 / 0.6216 GB, free: 31.09 MB / 0.4981 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) Environment - environmentSimulation: