Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.006216/0.006216, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001394/0.001394, allocations: 195.7 kB / 16.67 MB, free: 6.379 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.774/0.774, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.91 kB / 0.5809 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4332, allocations: 80.21 MB / 0.6592 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002971/0.4362, allocations: 1.662 MB / 0.6608 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007979/0.437, allocations: 403.6 kB / 0.6612 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.4371, allocations: 0 / 0.6612 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.96e-05/0.4372, allocations: 11.7 kB / 0.6612 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.4373, allocations: 20.94 kB / 0.6612 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.4378, allocations: 122.6 kB / 0.6613 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.438, allocations: 113.9 kB / 0.6614 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.4382, allocations: 39.14 kB / 0.6615 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.4383, allocations: 41.53 kB / 0.6615 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.4384, allocations: 40.03 kB / 0.6616 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.4384, allocations: 8.094 kB / 0.6616 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.4386, allocations: 64.72 kB / 0.6616 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.374e-05/0.4386, allocations: 23.45 kB / 0.6617 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.895e-05/0.4387, allocations: 47.45 kB / 0.6617 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.439, allocations: 130 kB / 0.6618 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.439, allocations: 1.469 kB / 0.6618 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.439, allocations: 0 / 0.6618 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.439, allocations: 0.5156 kB / 0.6618 GB, free: 8.172 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005777/0.4396, allocations: 414.2 kB / 0.6622 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4396, allocations: 13.84 kB / 0.6622 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.4397, allocations: 42.52 kB / 0.6623 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.4399, allocations: 31.16 kB / 0.6623 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.4402, allocations: 199 kB / 0.6625 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/0.4402, allocations: 36.11 kB / 0.6625 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.4403, allocations: 9.094 kB / 0.6625 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.4406, allocations: 108.3 kB / 0.6626 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4406, allocations: 1.188 kB / 0.6626 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.4406, allocations: 4 kB / 0.6626 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4406, allocations: 2.188 kB / 0.6626 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.4409, allocations: 83.97 kB / 0.6627 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007914/0.4417, allocations: 380.9 kB / 0.6631 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/0.4423, allocations: 131.8 kB / 0.6632 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.4424, allocations: 43.86 kB / 0.6633 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.4425, allocations: 5.344 kB / 0.6633 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.4425, allocations: 31.84 kB / 0.6633 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.4425, allocations: 0 / 0.6633 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004379/0.4429, allocations: 132 kB / 0.6634 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.443, allocations: 59.33 kB / 0.6635 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4431, allocations: 139.8 kB / 0.6636 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.4431, allocations: 30.89 kB / 0.6636 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.4432, allocations: 99.33 kB / 0.6637 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.4432, allocations: 26.47 kB / 0.6638 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.4433, allocations: 23.75 kB / 0.6638 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.4433, allocations: 321.1 kB / 0.6641 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.4435, allocations: 23.23 kB / 0.6641 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.4436, allocations: 49.28 kB / 0.6642 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.4438, allocations: 84.56 kB / 0.6642 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4438, allocations: 0 / 0.6642 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002667/0.4441, allocations: 108.4 kB / 0.6643 GB, free: 6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4441, allocations: 4.219 kB / 0.6643 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4441, allocations: 5.156 kB / 0.6643 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.4441, allocations: 9.031 kB / 0.6644 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4442, allocations: 22.2 kB / 0.6644 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.557e-06/0.4443, allocations: 3.938 kB / 0.6644 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.943e-05/0.4444, allocations: 12.8 kB / 0.6644 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.4444, allocations: 6.125 kB / 0.6644 GB, free: 5.965 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 7.15e-05/0.4444, allocations: 114 kB / 0.6645 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.4445, allocations: 8.125 kB / 0.6645 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.4445, allocations: 15.84 kB / 0.6645 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4445, allocations: 7.922 kB / 0.6645 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.4446, allocations: 0 / 0.6645 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4446, allocations: 1.156 kB / 0.6645 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.4447, allocations: 200 kB / 0.6647 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4448, allocations: 0 / 0.6647 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.4449, allocations: 16.33 kB / 0.6647 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.4449, allocations: 1.344 kB / 0.6647 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.4449, allocations: 0 / 0.6647 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4449, allocations: 7.875 kB / 0.6648 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4449, allocations: 9.281 kB / 0.6648 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.4452, allocations: 199.2 kB / 0.665 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.4452, allocations: 87.14 kB / 0.665 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.4453, allocations: 1.25 kB / 0.665 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.4454, allocations: 18.83 kB / 0.6651 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.4455, allocations: 6.141 kB / 0.6651 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.4455, allocations: 6.25 kB / 0.6651 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.4455, allocations: 105.1 kB / 0.6652 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4455, allocations: 0 / 0.6652 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002472/0.4458, allocations: 24.47 kB / 0.6652 GB, free: 5.188 MB / 0.4981 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 (7): * Single equations (assignments): 7 * 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.0004517/0.4462, allocations: 0.7376 MB / 0.6659 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.4465, allocations: 71.08 kB / 0.666 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4465, allocations: 0 / 0.666 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.759e-05/0.4466, allocations: 41.56 kB / 0.666 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.447, allocations: 36.14 kB / 0.6661 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.4487, allocations: 1.545 MB / 0.6676 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.4488, allocations: 0.6951 MB / 0.6682 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.104e-05/0.4489, allocations: 14.81 kB / 0.6683 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.449, allocations: 23.72 kB / 0.6683 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.449, allocations: 1.156 kB / 0.6683 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.4677, allocations: 2.764 MB / 0.671 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.195, allocations: 14.98 kB / 0.671 GB, free: 0.8906 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)