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.005856/0.005856, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001192/0.001193, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7675/0.7675, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.12 kB / 0.5809 GB, free: 1.277 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1594, allocations: 80.21 MB / 0.6592 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003201/0.1626, allocations: 1.652 MB / 0.6608 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000777/0.1634, allocations: 398.8 kB / 0.6612 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.1636, allocations: 0 / 0.6612 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.1637, allocations: 11.86 kB / 0.6612 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.1638, allocations: 27.72 kB / 0.6612 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.1642, allocations: 123.6 kB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1644, allocations: 107.6 kB / 0.6614 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1646, allocations: 46.77 kB / 0.6615 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.246e-05/0.1646, allocations: 43.86 kB / 0.6615 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.1647, allocations: 47.7 kB / 0.6616 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1648, allocations: 4 kB / 0.6616 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1649, allocations: 67.94 kB / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.1649, allocations: 19.92 kB / 0.6617 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.165, allocations: 43.8 kB / 0.6617 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.1653, allocations: 132.4 kB / 0.6618 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1653, allocations: 0 / 0.6618 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1653, allocations: 0 / 0.6618 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.1653, allocations: 0 / 0.6618 GB, free: 11.38 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.0006977/0.166, allocations: 419.2 kB / 0.6622 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1661, allocations: 8.031 kB / 0.6622 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.1661, allocations: 42.73 kB / 0.6623 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/0.1664, allocations: 32.73 kB / 0.6623 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1667, allocations: 196.1 kB / 0.6625 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.121e-05/0.1668, allocations: 38.27 kB / 0.6625 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1668, allocations: 8.375 kB / 0.6625 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.1671, allocations: 102 kB / 0.6626 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1672, allocations: 0 / 0.6626 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.1672, allocations: 7.938 kB / 0.6626 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.1672, allocations: 4 kB / 0.6626 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.1675, allocations: 81.59 kB / 0.6627 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.1682, allocations: 384.6 kB / 0.6631 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.1688, allocations: 130.6 kB / 0.6632 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1689, allocations: 44.84 kB / 0.6633 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.1689, allocations: 0 / 0.6633 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.169, allocations: 34.56 kB / 0.6633 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.169, allocations: 0 / 0.6633 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004523/0.1694, allocations: 133.6 kB / 0.6634 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.1695, allocations: 63.33 kB / 0.6635 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1696, allocations: 137.7 kB / 0.6636 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.1697, allocations: 29.7 kB / 0.6636 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.1697, allocations: 100.1 kB / 0.6637 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.1698, allocations: 15.66 kB / 0.6637 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.1698, allocations: 29.7 kB / 0.6638 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1699, allocations: 310.8 kB / 0.6641 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1701, allocations: 35.97 kB / 0.6641 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1702, allocations: 45.69 kB / 0.6641 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.1704, allocations: 77.62 kB / 0.6642 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1704, allocations: 0 / 0.6642 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002675/0.1707, allocations: 113.5 kB / 0.6643 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1707, allocations: 6.031 kB / 0.6643 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1707, allocations: 4 kB / 0.6643 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1707, allocations: 7.875 kB / 0.6643 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1708, allocations: 19.92 kB / 0.6644 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1709, allocations: 4.547 kB / 0.6644 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.401e-05/0.1709, allocations: 11.84 kB / 0.6644 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.171, allocations: 0 / 0.6644 GB, free: 8.512 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 8.789e-05/0.171, allocations: 125.9 kB / 0.6645 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.1711, allocations: 7.906 kB / 0.6645 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.1711, allocations: 12.72 kB / 0.6645 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.1711, allocations: 3.938 kB / 0.6645 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1711, allocations: 3.938 kB / 0.6645 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1711, allocations: 0 / 0.6645 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1713, allocations: 205.6 kB / 0.6647 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1714, allocations: 0 / 0.6647 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.915e-05/0.1715, allocations: 15.98 kB / 0.6647 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1715, allocations: 4 kB / 0.6647 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.1715, allocations: 0 / 0.6647 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.1715, allocations: 15.88 kB / 0.6648 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1715, allocations: 0 / 0.6648 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.1718, allocations: 199.4 kB / 0.665 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.1718, allocations: 85 kB / 0.665 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1719, allocations: 4 kB / 0.665 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.172, allocations: 23.91 kB / 0.6651 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.1721, allocations: 4 kB / 0.6651 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1721, allocations: 3.984 kB / 0.6651 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.685e-05/0.1722, allocations: 103.3 kB / 0.6652 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1722, allocations: 0 / 0.6652 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002487/0.1724, allocations: 27.91 kB / 0.6652 GB, free: 7.582 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.0006328/0.1731, allocations: 0.7396 MB / 0.6659 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002763/0.1734, allocations: 71.95 kB / 0.666 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1734, allocations: 3.938 kB / 0.666 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.1735, allocations: 44.03 kB / 0.666 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.1739, allocations: 30.2 kB / 0.6661 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.1757, allocations: 1.552 MB / 0.6676 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.176, allocations: 0.6924 MB / 0.6682 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.834e-05/0.176, allocations: 8.672 kB / 0.6683 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.1761, allocations: 27.42 kB / 0.6683 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1761, allocations: 0 / 0.6683 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.1948, allocations: 2.76 MB / 0.671 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/7.931, allocations: 10.92 kB / 0.671 GB, free: 1.676 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)