Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.000982/0.0009824, allocations: 91.61 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.00116/0.00116, 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.369/1.369, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9966/0.9966, allocations: 143.4 MB / 434.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 8 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1716, allocations: 83.42 MB / 0.5975 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001333/0.1729, allocations: 1.01 MB / 0.5985 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4873/0.6603, allocations: 134.1 MB / 0.7294 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.6604, allocations: 0 / 0.7294 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.6604, allocations: 0.5625 kB / 0.7294 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.475e-05/0.6605, allocations: 10.81 kB / 0.7295 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.6609, allocations: 96.83 kB / 0.7295 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.444e-05/0.6609, allocations: 21.53 kB / 0.7296 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.661, allocations: 5.531 kB / 0.7296 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.364e-05/0.661, allocations: 8.375 kB / 0.7296 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.6611, allocations: 4.484 kB / 0.7296 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.6611, allocations: 1.688 kB / 0.7296 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.6615, allocations: 170.8 kB / 0.7297 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.6615, allocations: 8.875 kB / 0.7298 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.6616, allocations: 27.95 kB / 0.7298 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.6617, allocations: 76.66 kB / 0.7299 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6617, allocations: 1.344 kB / 0.7299 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6617, allocations: 4 kB / 0.7299 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.6618, allocations: 0 / 0.7299 GB, free: 14.44 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002956/0.6621, allocations: 349.8 kB / 0.7302 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.6621, allocations: 9.75 kB / 0.7302 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.6621, allocations: 32.66 kB / 0.7302 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004823/0.6626, allocations: 36.64 kB / 0.7303 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.6627, allocations: 169.4 kB / 0.7304 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.6628, allocations: 2.891 kB / 0.7304 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.6628, allocations: 1.031 kB / 0.7304 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.6629, allocations: 51.86 kB / 0.7305 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.6629, allocations: 1.688 kB / 0.7305 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.663, allocations: 3.562 kB / 0.7305 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.663, allocations: 1.031 kB / 0.7305 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.6631, allocations: 20.98 kB / 0.7305 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.6635, allocations: 251.6 kB / 0.7307 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.245e-05/0.6635, allocations: 21.8 kB / 0.7308 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.6636, allocations: 13.31 kB / 0.7308 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-06/0.6636, allocations: 5.281 kB / 0.7308 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.6636, allocations: 35.17 kB / 0.7308 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.6636, allocations: 0 / 0.7308 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001368/0.6638, allocations: 42.05 kB / 0.7309 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.6638, allocations: 52.53 kB / 0.7309 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.6639, allocations: 112.8 kB / 0.731 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.664, allocations: 25.7 kB / 0.731 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.664, allocations: 86.27 kB / 0.7311 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.664, allocations: 18.05 kB / 0.7311 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.664, allocations: 0 / 0.7311 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.6642, allocations: 312.8 kB / 0.7314 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.692e-05/0.6643, allocations: 12.53 kB / 0.7315 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.6643, allocations: 9.891 kB / 0.7315 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.776e-05/0.6644, allocations: 13.34 kB / 0.7315 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6644, allocations: 0 / 0.7315 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001684/0.6646, allocations: 60.75 kB / 0.7315 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6646, allocations: 6.797 kB / 0.7315 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6646, allocations: 48 / 0.7315 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.6647, allocations: 5.047 kB / 0.7315 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.6648, allocations: 9.562 kB / 0.7316 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6648, allocations: 1.062 kB / 0.7316 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.6649, allocations: 20.47 kB / 0.7316 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.6649, allocations: 1.766 kB / 0.7316 GB, free: 12.71 MB / 0.5606 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 7.793e-05/0.665, allocations: 107.6 kB / 0.7317 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.665, allocations: 2.234 kB / 0.7317 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.6651, allocations: 11.62 kB / 0.7317 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6651, allocations: 1.25 kB / 0.7317 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.6651, allocations: 0.7031 kB / 0.7317 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6651, allocations: 1 kB / 0.7317 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.6652, allocations: 157 kB / 0.7318 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6653, allocations: 4.5 kB / 0.7318 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.6653, allocations: 3.734 kB / 0.7319 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.6653, allocations: 0.6562 kB / 0.7319 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.6653, allocations: 2.312 kB / 0.7319 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6653, allocations: 0 / 0.7319 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6653, allocations: 0.9375 kB / 0.7319 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.6654, allocations: 140 kB / 0.732 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.6655, allocations: 80.3 kB / 0.7321 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.6655, allocations: 6.438 kB / 0.7321 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.6656, allocations: 4.375 kB / 0.7321 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.6657, allocations: 2.156 kB / 0.7321 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.6657, allocations: 1.719 kB / 0.7321 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.185e-05/0.6658, allocations: 94.14 kB / 0.7322 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6658, allocations: 1.031 kB / 0.7322 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002644/0.666, allocations: 16.56 kB / 0.7322 GB, free: 12.07 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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.0005064/0.6665, allocations: 0.6847 MB / 0.7329 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.6667, allocations: 16.17 kB / 0.7329 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6667, allocations: 1.406 kB / 0.7329 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.624e-05/0.6667, allocations: 16.34 kB / 0.7329 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.6671, allocations: 7.172 kB / 0.7329 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.6676, allocations: 172.9 kB / 0.7331 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.6679, allocations: 0.6748 MB / 0.7337 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.94e-05/0.668, allocations: 9.312 kB / 0.7337 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.668, allocations: 9.406 kB / 0.7337 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.668, allocations: 0 / 0.7337 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.6806, allocations: 1.393 MB / 0.7351 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.6809, allocations: 216.9 kB / 0.7353 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.358, allocations: 7.312 kB / 0.7353 GB, free: 10.16 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) Environment - environmentSimulation: