Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_IDEAS_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.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00115/0.00115, allocations: 192.8 kB / 16.14 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.694/0.694, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 58.62 kB / 0.5012 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1196, allocations: 80.21 MB / 0.5795 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00185/0.1215, allocations: 1.337 MB / 0.5808 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3141/0.4356, allocations: 145.3 MB / 0.7228 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.4356, allocations: 1.344 kB / 0.7228 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.4357, allocations: 1.031 kB / 0.7228 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.135e-05/0.4357, allocations: 5.781 kB / 0.7228 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.436, allocations: 101.7 kB / 0.7229 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.815e-05/0.4361, allocations: 17.88 kB / 0.7229 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.4361, allocations: 2.688 kB / 0.7229 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.4362, allocations: 12.47 kB / 0.7229 GB, free: 7.578 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.101e-05/0.4362, allocations: 8.859 kB / 0.7229 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.4362, allocations: 0 / 0.7229 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.4366, allocations: 176.5 kB / 0.7231 GB, free: 7.527 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.4366, allocations: 0.8438 kB / 0.7231 GB, free: 7.527 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.4366, allocations: 13.02 kB / 0.7231 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.4368, allocations: 115.6 kB / 0.7232 GB, free: 7.484 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4368, allocations: 0 / 0.7232 GB, free: 7.484 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4369, allocations: 4.703 kB / 0.7232 GB, free: 7.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.4369, allocations: 0 / 0.7232 GB, free: 7.48 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002676/0.4371, allocations: 350.5 kB / 0.7235 GB, free: 7.113 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.4372, allocations: 10 kB / 0.7235 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.662e-05/0.4372, allocations: 30.75 kB / 0.7236 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005018/0.4377, allocations: 35.45 kB / 0.7236 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.77e-05/0.4378, allocations: 167.6 kB / 0.7238 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.4378, allocations: 4.938 kB / 0.7238 GB, free: 6.871 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.4378, allocations: 1.094 kB / 0.7238 GB, free: 6.871 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.438, allocations: 48.33 kB / 0.7238 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.438, allocations: 2.422 kB / 0.7238 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.438, allocations: 3.984 kB / 0.7238 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.438, allocations: 1 kB / 0.7238 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.4382, allocations: 24.09 kB / 0.7238 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.4385, allocations: 255.9 kB / 0.7241 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.261e-05/0.4385, allocations: 20.45 kB / 0.7241 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.4386, allocations: 13.95 kB / 0.7241 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.4386, allocations: 1.344 kB / 0.7241 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.4386, allocations: 40.25 kB / 0.7242 GB, free: 6.465 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4386, allocations: 1.594 kB / 0.7242 GB, free: 6.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001313/0.4387, allocations: 44.2 kB / 0.7242 GB, free: 6.426 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.4388, allocations: 53.72 kB / 0.7243 GB, free: 6.363 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.4389, allocations: 108.5 kB / 0.7244 GB, free: 6.262 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.4389, allocations: 25.7 kB / 0.7244 GB, free: 6.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.4389, allocations: 86.25 kB / 0.7245 GB, free: 6.145 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.248e-06/0.439, allocations: 13.77 kB / 0.7245 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.439, allocations: 18.09 kB / 0.7245 GB, free: 6.117 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.4391, allocations: 317.1 kB / 0.7248 GB, free: 5.801 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.4392, allocations: 12.3 kB / 0.7248 GB, free: 5.797 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/0.4392, allocations: 10.02 kB / 0.7248 GB, free: 5.797 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.301e-05/0.4393, allocations: 29.59 kB / 0.7248 GB, free: 5.777 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4393, allocations: 0 / 0.7248 GB, free: 5.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001715/0.4395, allocations: 57.61 kB / 0.7249 GB, free: 5.742 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.4395, allocations: 5.938 kB / 0.7249 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4395, allocations: 0.9375 kB / 0.7249 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.4395, allocations: 1.5 kB / 0.7249 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.4396, allocations: 12.14 kB / 0.7249 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4396, allocations: 1.031 kB / 0.7249 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.4398, allocations: 20.48 kB / 0.7249 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.4398, allocations: 2.234 kB / 0.7249 GB, free: 5.727 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/0.4399, allocations: 108.5 kB / 0.725 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.4399, allocations: 1.5 kB / 0.7251 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.4399, allocations: 8.109 kB / 0.7251 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4399, allocations: 1.344 kB / 0.7251 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4399, allocations: 3.125 kB / 0.7251 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4399, allocations: 11.88 kB / 0.7251 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.4401, allocations: 152.9 kB / 0.7252 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4401, allocations: 2.141 kB / 0.7252 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.4401, allocations: 2.375 kB / 0.7252 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.4401, allocations: 0 / 0.7252 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.4401, allocations: 1.219 kB / 0.7252 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4401, allocations: 0.8438 kB / 0.7252 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4401, allocations: 1.281 kB / 0.7252 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.045e-05/0.4402, allocations: 139.7 kB / 0.7254 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.4403, allocations: 83.03 kB / 0.7254 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.4403, allocations: 0.7969 kB / 0.7254 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.4404, allocations: 3.859 kB / 0.7254 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.4404, allocations: 4.734 kB / 0.7254 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.4404, allocations: 5.469 kB / 0.7255 GB, free: 5.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.682e-05/0.4405, allocations: 91.28 kB / 0.7255 GB, free: 5.082 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4405, allocations: 0 / 0.7255 GB, free: 5.082 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002279/0.4407, allocations: 20.72 kB / 0.7256 GB, free: 5.074 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003445/0.4411, allocations: 0.6837 MB / 0.7262 GB, free: 4.402 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.4412, allocations: 16.3 kB / 0.7262 GB, free: 4.402 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.4412, allocations: 5.188 kB / 0.7262 GB, free: 4.398 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.4412, allocations: 7.219 kB / 0.7263 GB, free: 4.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.4415, allocations: 14.97 kB / 0.7263 GB, free: 4.387 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.4419, allocations: 154.9 kB / 0.7264 GB, free: 4.234 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.4421, allocations: 0.6746 MB / 0.7271 GB, free: 3.539 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.941e-05/0.4422, allocations: 7.812 kB / 0.7271 GB, free: 3.535 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.4422, allocations: 15.36 kB / 0.7271 GB, free: 3.527 MB / 0.545 GB Notification: Performance of SimCode: time 1.794e-06/0.4422, allocations: 0 / 0.7271 GB, free: 3.527 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.63/2.072, allocations: 1.444 MB / 0.7285 GB, free: 3.32 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003482/2.073, allocations: 209.8 kB / 0.7287 GB, free: 3.062 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/3.774, allocations: 3.938 kB / 0.7287 GB, free: 3.059 MB / 0.545 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)