Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_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.0008638/0.0008638, 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.0009092/0.0009092, 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.345/1.345, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9633/0.9633, allocations: 135.3 MB / 426.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 12.22 kB / 0.5071 GB, free: 5.055 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1698, allocations: 82.31 MB / 0.5875 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001278/0.1711, allocations: 0.9901 MB / 0.5884 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4672/0.6383, allocations: 134.1 MB / 0.7194 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.6384, allocations: 0 / 0.7194 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.6384, allocations: 1.969 kB / 0.7194 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.24e-05/0.6385, allocations: 5.203 kB / 0.7194 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.6389, allocations: 108.4 kB / 0.7195 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.639, allocations: 17.56 kB / 0.7195 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.639, allocations: 2.688 kB / 0.7195 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.699e-05/0.6391, allocations: 8.5 kB / 0.7195 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.6391, allocations: 9.078 kB / 0.7195 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.6392, allocations: 0 / 0.7195 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004299/0.6396, allocations: 174 kB / 0.7197 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.502e-06/0.6396, allocations: 0 / 0.7197 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.6396, allocations: 33.14 kB / 0.7197 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.6398, allocations: 77.67 kB / 0.7198 GB, free: 11.33 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6398, allocations: 4 kB / 0.7198 GB, free: 11.33 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6398, allocations: 0 / 0.7198 GB, free: 11.33 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6399, allocations: 0 / 0.7198 GB, free: 11.33 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.0003609/0.6402, allocations: 342.4 kB / 0.7201 GB, free: 10.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.6403, allocations: 9.656 kB / 0.7201 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.6403, allocations: 35.17 kB / 0.7201 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005255/0.6409, allocations: 45.89 kB / 0.7202 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.641, allocations: 162.5 kB / 0.7203 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.641, allocations: 1.891 kB / 0.7203 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.641, allocations: 1.281 kB / 0.7203 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.6412, allocations: 52.66 kB / 0.7204 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.6412, allocations: 0 / 0.7204 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.6412, allocations: 1.375 kB / 0.7204 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.6412, allocations: 0 / 0.7204 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.6413, allocations: 28.52 kB / 0.7204 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.6417, allocations: 250 kB / 0.7207 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.058e-05/0.6418, allocations: 24.56 kB / 0.7207 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.6418, allocations: 15.19 kB / 0.7207 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.6418, allocations: 4 kB / 0.7207 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.6418, allocations: 32.69 kB / 0.7207 GB, free: 10.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.6418, allocations: 0 / 0.7207 GB, free: 10.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001381/0.642, allocations: 52.83 kB / 0.7208 GB, free: 10.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.642, allocations: 51.41 kB / 0.7208 GB, free: 10.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.6422, allocations: 109.3 kB / 0.7209 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.6422, allocations: 25.7 kB / 0.721 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.6423, allocations: 86.27 kB / 0.721 GB, free: 9.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-06/0.6423, allocations: 10.19 kB / 0.7211 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.6423, allocations: 0 / 0.7211 GB, free: 9.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.6424, allocations: 316.5 kB / 0.7214 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.6425, allocations: 9.359 kB / 0.7214 GB, free: 9.664 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.886e-05/0.6425, allocations: 8.469 kB / 0.7214 GB, free: 9.664 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.894e-05/0.6426, allocations: 19.7 kB / 0.7214 GB, free: 9.656 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6426, allocations: 0 / 0.7214 GB, free: 9.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001664/0.6428, allocations: 56.73 kB / 0.7215 GB, free: 9.621 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.6428, allocations: 6.719 kB / 0.7215 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.6428, allocations: 4.781 kB / 0.7215 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.6428, allocations: 4.922 kB / 0.7215 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.825e-05/0.6429, allocations: 10.12 kB / 0.7215 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.6429, allocations: 1.469 kB / 0.7215 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.6431, allocations: 11.14 kB / 0.7215 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.6431, allocations: 2.734 kB / 0.7215 GB, free: 9.609 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 7.345e-05/0.6432, allocations: 107.6 kB / 0.7216 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.6432, allocations: 6.859 kB / 0.7216 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.6432, allocations: 7.781 kB / 0.7216 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6432, allocations: 5.094 kB / 0.7216 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6432, allocations: 3.953 kB / 0.7216 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6432, allocations: 9.625 kB / 0.7216 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.6434, allocations: 148.2 kB / 0.7218 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6434, allocations: 4.359 kB / 0.7218 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.6434, allocations: 3 kB / 0.7218 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6434, allocations: 1.781 kB / 0.7218 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.6435, allocations: 4 kB / 0.7218 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.6435, allocations: 0 / 0.7218 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6435, allocations: 1.703 kB / 0.7218 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.6436, allocations: 142.8 kB / 0.7219 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.6437, allocations: 81.34 kB / 0.722 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.6437, allocations: 2.094 kB / 0.722 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.6438, allocations: 2.047 kB / 0.722 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.6438, allocations: 2.078 kB / 0.722 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.6438, allocations: 2.281 kB / 0.722 GB, free: 9.043 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.063e-05/0.6439, allocations: 94.78 kB / 0.7221 GB, free: 8.961 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6439, allocations: 0 / 0.7221 GB, free: 8.961 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002399/0.6441, allocations: 20.36 kB / 0.7221 GB, free: 8.953 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 (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.0004513/0.6446, allocations: 0.6763 MB / 0.7228 GB, free: 8.289 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.6447, allocations: 24.31 kB / 0.7228 GB, free: 8.281 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6448, allocations: 4.031 kB / 0.7228 GB, free: 8.277 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.6448, allocations: 8.031 kB / 0.7228 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.6451, allocations: 7.188 kB / 0.7228 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.6455, allocations: 173.4 kB / 0.723 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.6458, allocations: 0.6785 MB / 0.7236 GB, free: 7.418 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.32e-05/0.6458, allocations: 10.98 kB / 0.7237 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.6459, allocations: 14.98 kB / 0.7237 GB, free: 7.398 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.6459, allocations: 0 / 0.7237 GB, free: 7.398 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01149/0.6574, allocations: 1.372 MB / 0.725 GB, free: 7.27 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.6576, allocations: 193 kB / 0.7252 GB, free: 7.031 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.4, allocations: 0 / 0.7252 GB, free: 7.031 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) Environment - environmentSimulation: