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.001121/0.001121, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7911/0.7911, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 72.8 kB / 0.5019 GB, free: 3.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.426, allocations: 80.19 MB / 0.5802 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003241/0.4292, allocations: 1.667 MB / 0.5818 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.43, allocations: 395.7 kB / 0.5822 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.4301, allocations: 1.094 kB / 0.5822 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.4302, allocations: 10.91 kB / 0.5822 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.513e-05/0.4303, allocations: 25.47 kB / 0.5822 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.4307, allocations: 119.5 kB / 0.5823 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.4309, allocations: 110 kB / 0.5824 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.431, allocations: 42.27 kB / 0.5825 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.4311, allocations: 44.25 kB / 0.5825 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.4312, allocations: 41.08 kB / 0.5826 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.4312, allocations: 7.406 kB / 0.5826 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.4314, allocations: 60.91 kB / 0.5826 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.4314, allocations: 25.31 kB / 0.5827 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.4315, allocations: 49.97 kB / 0.5827 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.4317, allocations: 125.1 kB / 0.5828 GB, free: 2.824 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4317, allocations: 4.719 kB / 0.5828 GB, free: 2.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4317, allocations: 0 / 0.5828 GB, free: 2.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.4318, allocations: 0.8125 kB / 0.5828 GB, free: 2.82 MB / 430.1 MB 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.0005882/0.4323, allocations: 422.2 kB / 0.5832 GB, free: 2.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4324, allocations: 10.34 kB / 0.5832 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.4324, allocations: 39.33 kB / 0.5833 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.4327, allocations: 35.3 kB / 0.5833 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.4329, allocations: 189.9 kB / 0.5835 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.4329, allocations: 39.41 kB / 0.5835 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.4329, allocations: 13.56 kB / 0.5835 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.4332, allocations: 105.9 kB / 0.5836 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.4333, allocations: 0 / 0.5836 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.4333, allocations: 5.531 kB / 0.5836 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4333, allocations: 1.969 kB / 0.5837 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.4336, allocations: 83.09 kB / 0.5837 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008135/0.4344, allocations: 390.1 kB / 0.5841 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.435, allocations: 133.9 kB / 0.5842 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.4352, allocations: 42.12 kB / 0.5843 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.4352, allocations: 5.578 kB / 0.5843 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4352, allocations: 32.41 kB / 0.5843 GB, free: 1.586 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4352, allocations: 4 kB / 0.5843 GB, free: 1.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004979/0.4357, allocations: 130.2 kB / 0.5844 GB, free: 1.523 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.4358, allocations: 56.72 kB / 0.5845 GB, free: 1.457 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.4359, allocations: 134.5 kB / 0.5846 GB, free: 1.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.4359, allocations: 26.36 kB / 0.5846 GB, free: 1.316 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.436, allocations: 106.7 kB / 0.5847 GB, free: 1.215 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.4361, allocations: 24 kB / 0.5848 GB, free: 1.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.4361, allocations: 24.61 kB / 0.5848 GB, free: 1.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.4362, allocations: 319.7 kB / 0.5851 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4363, allocations: 26.36 kB / 0.5851 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.4365, allocations: 51.12 kB / 0.5852 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.4367, allocations: 79.23 kB / 0.5852 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4367, allocations: 0 / 0.5852 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002983/0.437, allocations: 113.1 kB / 0.5854 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.437, allocations: 5.656 kB / 0.5854 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4371, allocations: 0.6094 kB / 0.5854 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4371, allocations: 4.5 kB / 0.5854 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.4372, allocations: 21.31 kB / 0.5854 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4372, allocations: 2.109 kB / 0.5854 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-05/0.4373, allocations: 7.375 kB / 0.5854 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4373, allocations: 6.344 kB / 0.5854 GB, free: 0.7109 MB / 430.1 MB 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.725e-05/0.4374, allocations: 122 kB / 0.5855 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.4375, allocations: 8.781 kB / 0.5855 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.4375, allocations: 12.75 kB / 0.5855 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4375, allocations: 3.938 kB / 0.5855 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4375, allocations: 1.375 kB / 0.5855 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4375, allocations: 4.562 kB / 0.5855 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.4377, allocations: 206.9 kB / 0.5857 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4377, allocations: 0 / 0.5857 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.4379, allocations: 15.67 kB / 0.5858 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.4379, allocations: 1.969 kB / 0.5858 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.4379, allocations: 0 / 0.5858 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4379, allocations: 3.938 kB / 0.5858 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4379, allocations: 1.641 kB / 0.5858 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.4382, allocations: 201.4 kB / 0.586 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.4382, allocations: 87.73 kB / 0.586 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.4383, allocations: 4.781 kB / 0.586 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.4384, allocations: 26.69 kB / 0.5861 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.4385, allocations: 9.234 kB / 0.5861 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.4385, allocations: 3.516 kB / 0.5861 GB, free: 60 kB / 430.1 MB Notification: Performance of sorting global known variables: time 9.489e-05/0.4386, allocations: 105.3 kB / 0.5862 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4386, allocations: 5.062 kB / 0.5862 GB, free: 15.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.4389, allocations: 19.88 kB / 0.5862 GB, free: 15.97 MB / 446.1 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 () * 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.0006303/0.4395, allocations: 0.725 MB / 0.5869 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.4398, allocations: 87.59 kB / 0.587 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4398, allocations: 0.8125 kB / 0.587 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.44, allocations: 40.31 kB / 0.587 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.4404, allocations: 26.41 kB / 0.5871 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.4424, allocations: 1.538 MB / 0.5886 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.4427, allocations: 0.6971 MB / 0.5892 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.786e-05/0.4428, allocations: 12.86 kB / 0.5893 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.4428, allocations: 25.61 kB / 0.5893 GB, free: 13.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4428, allocations: 0 / 0.5893 GB, free: 13.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.4653, allocations: 2.681 MB / 0.5919 GB, free: 12.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.173, allocations: 4.75 kB / 0.5919 GB, free: 12.81 MB / 446.1 MB (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)