Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.0008698/0.0008698, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001014/0.001014, allocations: 168.7 kB / 15.95 MB, free: 204 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.338/1.338, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.024/1.024, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003605, allocations: 8 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1545, allocations: 83.41 MB / 0.5975 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003746/0.1583, allocations: 3.584 MB / 0.601 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00215/0.1604, allocations: 2.264 MB / 0.6033 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.1605, allocations: 8 kB / 0.6033 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1607, allocations: 31.81 kB / 0.6033 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.1609, allocations: 87.47 kB / 0.6034 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007817/0.1617, allocations: 420.8 kB / 0.6038 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.162, allocations: 299.8 kB / 0.6041 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.162, allocations: 17.48 kB / 0.6041 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.1622, allocations: 103.6 kB / 0.6042 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1623, allocations: 99.64 kB / 0.6043 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.1624, allocations: 8 kB / 0.6043 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005907/0.163, allocations: 347.3 kB / 0.6046 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.163, allocations: 39.88 kB / 0.6046 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.1631, allocations: 57.64 kB / 0.6047 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.1634, allocations: 259.7 kB / 0.6049 GB, free: 116 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1634, allocations: 4 kB / 0.605 GB, free: 112 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.021e-06/0.1634, allocations: 3.938 kB / 0.605 GB, free: 108 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1634, allocations: 0 / 0.605 GB, free: 108 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.2793/0.4427, allocations: 468.2 kB / 0.6054 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4428, allocations: 10.34 kB / 0.6054 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.4428, allocations: 53.52 kB / 0.6055 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.4447, allocations: 183.1 kB / 0.6056 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.4448, allocations: 207.3 kB / 0.6058 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.4449, allocations: 14.59 kB / 0.6059 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.4449, allocations: 21.5 kB / 0.6059 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.4455, allocations: 300.4 kB / 0.6062 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4455, allocations: 0 / 0.6062 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.4455, allocations: 12.09 kB / 0.6062 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.4456, allocations: 8.594 kB / 0.6062 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/0.4461, allocations: 256.5 kB / 0.6064 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.4472, allocations: 1.39 MB / 0.6078 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005229/0.4478, allocations: 194.3 kB / 0.608 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.448, allocations: 73.88 kB / 0.608 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.448, allocations: 5.453 kB / 0.608 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.448, allocations: 38.97 kB / 0.6081 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.448, allocations: 0 / 0.6081 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006186/0.4486, allocations: 250.1 kB / 0.6083 GB, free: 39.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.4487, allocations: 54.19 kB / 0.6084 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.193e-05/0.4488, allocations: 157.7 kB / 0.6085 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.4488, allocations: 28.89 kB / 0.6085 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.4489, allocations: 127 kB / 0.6087 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.4489, allocations: 66.44 kB / 0.6087 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.4489, allocations: 9.719 kB / 0.6087 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.449, allocations: 324.8 kB / 0.609 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.4491, allocations: 63.62 kB / 0.6091 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.4493, allocations: 141.1 kB / 0.6092 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.4495, allocations: 77.66 kB / 0.6093 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4495, allocations: 0 / 0.6093 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004547/0.45, allocations: 258.5 kB / 0.6096 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.45, allocations: 4.719 kB / 0.6096 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.45, allocations: 3.516 kB / 0.6096 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.45, allocations: 7.188 kB / 0.6096 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.4504, allocations: 62.7 kB / 0.6096 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4504, allocations: 2.938 kB / 0.6096 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.4506, allocations: 38.48 kB / 0.6097 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.4506, allocations: 15.98 kB / 0.6097 GB, free: 38.61 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.864e-05/0.4507, allocations: 131.8 kB / 0.6098 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.4508, allocations: 19.45 kB / 0.6098 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005196/0.4513, allocations: 230.8 kB / 0.6101 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4513, allocations: 2.938 kB / 0.6101 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4513, allocations: 0 / 0.6101 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4513, allocations: 4.656 kB / 0.6101 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.4515, allocations: 239.9 kB / 0.6103 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4515, allocations: 0 / 0.6103 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.4518, allocations: 46.31 kB / 0.6103 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4518, allocations: 3.625 kB / 0.6103 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.4518, allocations: 6.109 kB / 0.6103 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4518, allocations: 0 / 0.6103 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4518, allocations: 4.656 kB / 0.6104 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.4523, allocations: 302.5 kB / 0.6106 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.4523, allocations: 104.8 kB / 0.6107 GB, free: 37.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.4524, allocations: 7.359 kB / 0.6107 GB, free: 37.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.4526, allocations: 17.98 kB / 0.6108 GB, free: 37.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.141e-05/0.4527, allocations: 15.8 kB / 0.6108 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.4527, allocations: 12.41 kB / 0.6108 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.4527, allocations: 112.5 kB / 0.6109 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4528, allocations: 0 / 0.6109 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003322/0.4531, allocations: 61.62 kB / 0.611 GB, free: 37.89 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0006453/0.4537, allocations: 0.8718 MB / 0.6118 GB, free: 37.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004136/0.4542, allocations: 174.1 kB / 0.612 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4542, allocations: 2.969 kB / 0.612 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.4544, allocations: 85.89 kB / 0.6121 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.4548, allocations: 65.58 kB / 0.6121 GB, free: 37.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.4565, allocations: 1.107 MB / 0.6132 GB, free: 36.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.4566, allocations: 0.7211 MB / 0.6139 GB, free: 35.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003381/0.457, allocations: 50.3 kB / 0.614 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.4571, allocations: 47.48 kB / 0.614 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4571, allocations: 0 / 0.614 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.4721, allocations: 4.768 MB / 0.6187 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/0.4723, allocations: 233.5 kB / 0.6189 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.262, allocations: 4 kB / 0.6189 GB, free: 35.36 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) Environment - environmentSimulation: