Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7068/0.7068, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009935/0.0009934, allocations: 196.7 kB / 169.7 MB, free: 1.727 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.1 MB / 404.5 MB, free: 1.602 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009447/0.0009447, allocations: 92.3 kB / 481.8 MB, free: 4.254 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.88e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1614, allocations: 76.75 MB / 0.6282 GB, free: 9.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5298/0.6913, allocations: 104 MB / 0.7298 GB, free: 9.023 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.6916, allocations: 82.94 kB / 0.7299 GB, free: 8.977 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006217/0.6978, allocations: 1.977 MB / 0.7318 GB, free: 7.234 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6978, allocations: 0 / 0.7318 GB, free: 7.234 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.6979, allocations: 4 kB / 0.7318 GB, free: 7.23 MB / 490.7 MB 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.0003842/0.6983, allocations: 365.8 kB / 0.7322 GB, free: 6.832 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6983, allocations: 8.031 kB / 0.7322 GB, free: 6.824 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.962e-05/0.6984, allocations: 33.81 kB / 0.7322 GB, free: 6.785 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003437/0.6987, allocations: 27.92 kB / 0.7322 GB, free: 6.758 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.6988, allocations: 163.1 kB / 0.7324 GB, free: 6.559 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.6989, allocations: 4 kB / 0.7324 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.6989, allocations: 0 / 0.7324 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.699, allocations: 52.53 kB / 0.7324 GB, free: 6.504 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.699, allocations: 0 / 0.7324 GB, free: 6.504 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.6991, allocations: 3.938 kB / 0.7324 GB, free: 6.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.6991, allocations: 0 / 0.7324 GB, free: 6.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.969e-05/0.6991, allocations: 26.77 kB / 0.7325 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.6996, allocations: 275.4 kB / 0.7327 GB, free: 6.176 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.482e-05/0.6997, allocations: 41.34 kB / 0.7328 GB, free: 6.137 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.6997, allocations: 12.42 kB / 0.7328 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.6998, allocations: 7.984 kB / 0.7328 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.6998, allocations: 38.45 kB / 0.7328 GB, free: 6.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.6998, allocations: 4 kB / 0.7328 GB, free: 6.066 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001912/0.7, allocations: 52.48 kB / 0.7329 GB, free: 6.016 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.7, allocations: 60.97 kB / 0.7329 GB, free: 5.949 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.197e-05/0.7001, allocations: 89 kB / 0.733 GB, free: 5.855 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.7001, allocations: 25.7 kB / 0.733 GB, free: 5.824 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.7002, allocations: 83.33 kB / 0.7331 GB, free: 5.742 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.7002, allocations: 7.891 kB / 0.7331 GB, free: 5.734 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.7002, allocations: 0 / 0.7331 GB, free: 5.734 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.7003, allocations: 322.2 kB / 0.7334 GB, free: 5.414 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.679e-05/0.7003, allocations: 7.125 kB / 0.7334 GB, free: 5.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.7004, allocations: 11 kB / 0.7335 GB, free: 5.402 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.7004, allocations: 11.92 kB / 0.7335 GB, free: 5.395 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7004, allocations: 0 / 0.7335 GB, free: 5.395 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.992e-05/0.7005, allocations: 56.62 kB / 0.7335 GB, free: 5.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.7005, allocations: 6.5 kB / 0.7335 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.7005, allocations: 0 / 0.7335 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.7006, allocations: 3.953 kB / 0.7335 GB, free: 5.332 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.7007, allocations: 24.06 kB / 0.7336 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7007, allocations: 0 / 0.7336 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.911e-05/0.7008, allocations: 12.17 kB / 0.7336 GB, free: 5.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.7008, allocations: 0 / 0.7336 GB, free: 5.297 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.002e-05/0.7009, allocations: 108.7 kB / 0.7337 GB, free: 5.188 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.7009, allocations: 7.922 kB / 0.7337 GB, free: 5.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.701, allocations: 8 kB / 0.7337 GB, free: 5.176 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.701, allocations: 3.953 kB / 0.7337 GB, free: 5.172 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.701, allocations: 0 / 0.7337 GB, free: 5.172 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.701, allocations: 4 kB / 0.7337 GB, free: 5.168 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.7012, allocations: 173.4 kB / 0.7339 GB, free: 4.957 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7012, allocations: 0 / 0.7339 GB, free: 4.957 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.7013, allocations: 19.98 kB / 0.7339 GB, free: 4.938 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7013, allocations: 4 kB / 0.7339 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.7013, allocations: 3.938 kB / 0.7339 GB, free: 4.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.7013, allocations: 3.938 kB / 0.7339 GB, free: 4.926 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.7014, allocations: 7.938 kB / 0.7339 GB, free: 4.918 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.7015, allocations: 145.9 kB / 0.734 GB, free: 4.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.7016, allocations: 81.11 kB / 0.7341 GB, free: 4.672 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.7016, allocations: 0 / 0.7341 GB, free: 4.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.7017, allocations: 16.02 kB / 0.7341 GB, free: 4.656 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.7017, allocations: 7.938 kB / 0.7341 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.7018, allocations: 0 / 0.7341 GB, free: 4.648 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.744e-05/0.7018, allocations: 83.22 kB / 0.7342 GB, free: 4.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7018, allocations: 0 / 0.7342 GB, free: 4.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.702, allocations: 16 kB / 0.7342 GB, free: 4.555 MB / 490.7 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 () * 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.0004483/0.7025, allocations: 0.7079 MB / 0.7349 GB, free: 3.832 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.7026, allocations: 22.3 kB / 0.7349 GB, free: 3.816 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.7026, allocations: 0 / 0.7349 GB, free: 3.816 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.489e-05/0.7026, allocations: 11.75 kB / 0.735 GB, free: 3.809 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.7028, allocations: 5.125 kB / 0.735 GB, free: 3.805 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.7032, allocations: 129.6 kB / 0.7351 GB, free: 3.648 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.7035, allocations: 0.6809 MB / 0.7358 GB, free: 2.941 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.953e-05/0.7035, allocations: 7.938 kB / 0.7358 GB, free: 2.934 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.7036, allocations: 15.12 kB / 0.7358 GB, free: 2.922 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7036, allocations: 0 / 0.7358 GB, free: 2.922 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/0.7148, allocations: 1.41 MB / 0.7371 GB, free: 1.645 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/0.7149, allocations: 171 kB / 0.7373 GB, free: 1.422 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.212, allocations: 0 / 0.7373 GB, free: 1.422 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)