Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.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.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",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.0008375/0.0008374, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008071/0.0008072, allocations: 172.7 kB / 15.95 MB, free: 208 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.383/1.383, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.055/1.055, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 15.98 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1756, allocations: 83.4 MB / 0.5975 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001708/0.1774, allocations: 1.206 MB / 0.5987 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4472/0.6246, allocations: 119.6 MB / 0.7155 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.6247, allocations: 1.406 kB / 0.7155 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.6247, allocations: 4.594 kB / 0.7155 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.56e-05/0.6248, allocations: 10.48 kB / 0.7156 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.6251, allocations: 55.19 kB / 0.7156 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.6252, allocations: 49.28 kB / 0.7157 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.6253, allocations: 7.453 kB / 0.7157 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.807e-05/0.6254, allocations: 18.61 kB / 0.7157 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.6255, allocations: 20.56 kB / 0.7157 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.6255, allocations: 1.25 kB / 0.7157 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.939e-05/0.6256, allocations: 15.7 kB / 0.7157 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.6256, allocations: 6.953 kB / 0.7157 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.6257, allocations: 41.52 kB / 0.7158 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.6258, allocations: 36.78 kB / 0.7158 GB, free: 9.195 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.6258, allocations: 0 / 0.7158 GB, free: 9.195 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.255e-06/0.6258, allocations: 1.438 kB / 0.7158 GB, free: 9.195 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.6258, allocations: 0 / 0.7158 GB, free: 9.195 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000532/0.6263, allocations: 382.8 kB / 0.7162 GB, free: 8.832 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.6264, allocations: 8.75 kB / 0.7162 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.6264, allocations: 32.64 kB / 0.7162 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.6265, allocations: 9.828 kB / 0.7162 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.6266, allocations: 163.2 kB / 0.7164 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.6266, allocations: 8.969 kB / 0.7164 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.6267, allocations: 3.984 kB / 0.7164 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.6269, allocations: 85.78 kB / 0.7165 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.627, allocations: 0 / 0.7165 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.627, allocations: 1.25 kB / 0.7165 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.627, allocations: 0.75 kB / 0.7165 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.6273, allocations: 99.08 kB / 0.7166 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.6277, allocations: 289.2 kB / 0.7168 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.6279, allocations: 69.83 kB / 0.7169 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.6281, allocations: 54.59 kB / 0.717 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.6283, allocations: 90.53 kB / 0.717 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.6283, allocations: 31.12 kB / 0.7171 GB, free: 8.043 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.6283, allocations: 1.188 kB / 0.7171 GB, free: 8.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005533/0.6289, allocations: 170.2 kB / 0.7172 GB, free: 7.984 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.6289, allocations: 55.36 kB / 0.7173 GB, free: 7.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.629, allocations: 117 kB / 0.7174 GB, free: 7.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.6291, allocations: 26.61 kB / 0.7174 GB, free: 7.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.6291, allocations: 88.31 kB / 0.7175 GB, free: 7.695 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.6292, allocations: 10.47 kB / 0.7175 GB, free: 7.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.6292, allocations: 4 kB / 0.7175 GB, free: 7.684 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6293, allocations: 314.4 kB / 0.7178 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.6294, allocations: 40.77 kB / 0.7179 GB, free: 7.367 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.6296, allocations: 46.3 kB / 0.7179 GB, free: 7.359 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.6297, allocations: 40.88 kB / 0.7179 GB, free: 7.355 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6297, allocations: 4 kB / 0.7179 GB, free: 7.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003769/0.6301, allocations: 126.3 kB / 0.7181 GB, free: 7.301 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6302, allocations: 4.906 kB / 0.7181 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.6302, allocations: 0.5156 kB / 0.7181 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6302, allocations: 1.344 kB / 0.7181 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.6303, allocations: 24.36 kB / 0.7181 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.6303, allocations: 1.281 kB / 0.7181 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.649e-05/0.6304, allocations: 24.27 kB / 0.7181 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.6304, allocations: 1.719 kB / 0.7181 GB, free: 7.289 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 9.01e-05/0.6305, allocations: 108.5 kB / 0.7182 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.6306, allocations: 6.906 kB / 0.7182 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000386/0.631, allocations: 130.8 kB / 0.7184 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.631, allocations: 0.6094 kB / 0.7184 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.631, allocations: 1.031 kB / 0.7184 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.631, allocations: 0.5156 kB / 0.7184 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.6312, allocations: 185.3 kB / 0.7185 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6312, allocations: 1.125 kB / 0.7185 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/0.6313, allocations: 20.5 kB / 0.7186 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.6313, allocations: 0.9688 kB / 0.7186 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.6314, allocations: 0.5625 kB / 0.7186 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6314, allocations: 2.469 kB / 0.7186 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6314, allocations: 0 / 0.7186 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.6318, allocations: 226.5 kB / 0.7188 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.6318, allocations: 87.5 kB / 0.7189 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.6318, allocations: 1.578 kB / 0.7189 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.632, allocations: 21.55 kB / 0.7189 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.632, allocations: 5.234 kB / 0.7189 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.632, allocations: 1.125 kB / 0.7189 GB, free: 6.645 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.435e-05/0.6321, allocations: 90.84 kB / 0.719 GB, free: 6.566 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6321, allocations: 4 kB / 0.719 GB, free: 6.562 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002395/0.6324, allocations: 13.22 kB / 0.719 GB, free: 6.562 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.0007499/0.6331, allocations: 0.7649 MB / 0.7197 GB, free: 5.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.6335, allocations: 90.5 kB / 0.7198 GB, free: 5.867 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6335, allocations: 1.031 kB / 0.7198 GB, free: 5.867 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.6336, allocations: 51.22 kB / 0.7199 GB, free: 5.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.634, allocations: 12.77 kB / 0.7199 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.6353, allocations: 0.5767 MB / 0.7205 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.6356, allocations: 0.6876 MB / 0.7211 GB, free: 4.762 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.902e-05/0.6357, allocations: 2.25 kB / 0.7211 GB, free: 4.762 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.6357, allocations: 17.53 kB / 0.7211 GB, free: 4.75 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.6357, allocations: 0 / 0.7211 GB, free: 4.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.6512, allocations: 1.713 MB / 0.7228 GB, free: 4.617 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.6515, allocations: 198.8 kB / 0.723 GB, free: 4.379 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.364, allocations: 0 / 0.723 GB, free: 4.379 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: