Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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: 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.001124/0.001124, allocations: 196.2 kB / 16.14 MB, free: 6.707 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.139/1.139, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6492/0.6492, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001929, allocations: 58.72 kB / 0.5012 GB, free: 9.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1273, allocations: 80.2 MB / 0.5795 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001754/0.1291, allocations: 1.329 MB / 0.5808 GB, free: 7.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2999/0.4291, allocations: 129.9 MB / 0.7076 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.4291, allocations: 1.156 kB / 0.7076 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.4292, allocations: 0 / 0.7076 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.4292, allocations: 2.75 kB / 0.7076 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.4295, allocations: 45.78 kB / 0.7077 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.667e-05/0.4296, allocations: 26.55 kB / 0.7077 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.097e-05/0.4296, allocations: 2.094 kB / 0.7077 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.4296, allocations: 10.02 kB / 0.7077 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.4297, allocations: 10.39 kB / 0.7077 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.4297, allocations: 1.562 kB / 0.7077 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.937e-05/0.4298, allocations: 18.38 kB / 0.7078 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.4298, allocations: 8.594 kB / 0.7078 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.4298, allocations: 9.203 kB / 0.7078 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.917e-05/0.4299, allocations: 19.61 kB / 0.7078 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4299, allocations: 1.938 kB / 0.7078 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.11e-07/0.4299, allocations: 0 / 0.7078 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.4299, allocations: 0 / 0.7078 GB, free: 2.84 MB / 0.5294 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.0003173/0.4303, allocations: 343.4 kB / 0.7081 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.4303, allocations: 9.062 kB / 0.7081 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.4303, allocations: 41 kB / 0.7082 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.4304, allocations: 4.156 kB / 0.7082 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.368e-05/0.4305, allocations: 163.1 kB / 0.7083 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/0.4305, allocations: 30.28 kB / 0.7084 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.4305, allocations: 5.578 kB / 0.7084 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.4306, allocations: 47.61 kB / 0.7084 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.4307, allocations: 0 / 0.7084 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.4307, allocations: 0.9375 kB / 0.7084 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.4307, allocations: 0.75 kB / 0.7084 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.361e-05/0.4307, allocations: 19.05 kB / 0.7084 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.4309, allocations: 156.6 kB / 0.7086 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.808e-05/0.431, allocations: 30.7 kB / 0.7086 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.431, allocations: 16.44 kB / 0.7086 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.4312, allocations: 88.7 kB / 0.7087 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.4312, allocations: 40.34 kB / 0.7087 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.4312, allocations: 0 / 0.7087 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001896/0.4314, allocations: 62.42 kB / 0.7088 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.4314, allocations: 53.28 kB / 0.7089 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.4315, allocations: 98.53 kB / 0.7089 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.4315, allocations: 25.7 kB / 0.709 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.4315, allocations: 81.17 kB / 0.709 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.4315, allocations: 13.72 kB / 0.7091 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.4316, allocations: 17.23 kB / 0.7091 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.509e-05/0.4317, allocations: 313.5 kB / 0.7094 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-05/0.4317, allocations: 5.859 kB / 0.7094 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.4317, allocations: 11.31 kB / 0.7094 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.207e-05/0.4318, allocations: 22.45 kB / 0.7094 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.4318, allocations: 0.5625 kB / 0.7094 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001045/0.4319, allocations: 56.34 kB / 0.7095 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.432, allocations: 11.69 kB / 0.7095 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.432, allocations: 0 / 0.7095 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.432, allocations: 1.844 kB / 0.7095 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.878e-05/0.432, allocations: 6.766 kB / 0.7095 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.432, allocations: 5.438 kB / 0.7095 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.4321, allocations: 1.828 kB / 0.7095 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.4321, allocations: 2.062 kB / 0.7095 GB, free: 1.047 MB / 0.5294 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.041e-05/0.4321, allocations: 112.1 kB / 0.7096 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.4322, allocations: 9.375 kB / 0.7096 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.4323, allocations: 65.7 kB / 0.7097 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4323, allocations: 4.906 kB / 0.7097 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4323, allocations: 0.7031 kB / 0.7097 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.4323, allocations: 1.469 kB / 0.7097 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.713e-05/0.4324, allocations: 151.9 kB / 0.7098 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4324, allocations: 1.375 kB / 0.7098 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.4325, allocations: 5.406 kB / 0.7098 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4325, allocations: 9.438 kB / 0.7098 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.4325, allocations: 0.5156 kB / 0.7098 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.4325, allocations: 0 / 0.7098 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4325, allocations: 2.031 kB / 0.7098 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.4326, allocations: 74.09 kB / 0.7099 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.4327, allocations: 88.33 kB / 0.71 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.4327, allocations: 4 kB / 0.71 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.87e-05/0.4327, allocations: 6.031 kB / 0.71 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.4327, allocations: 3.641 kB / 0.71 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.4327, allocations: 2.109 kB / 0.71 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.657e-05/0.4328, allocations: 78.56 kB / 0.7101 GB, free: 428 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4328, allocations: 0 / 0.7101 GB, free: 428 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001666/0.433, allocations: 9.016 kB / 0.7101 GB, free: 428 kB / 0.5294 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 (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 Backend phase and start with SimCode phase: time 0.0003507/0.4333, allocations: 0.6198 MB / 0.7107 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.4334, allocations: 26.11 kB / 0.7107 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4334, allocations: 0 / 0.7107 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.4335, allocations: 8.781 kB / 0.7107 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.4337, allocations: 9.219 kB / 0.7107 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.434, allocations: 177.8 kB / 0.7109 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.4342, allocations: 0.6758 MB / 0.7116 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.4342, allocations: 1.984 kB / 0.7116 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.4342, allocations: 13.81 kB / 0.7116 GB, free: 14.93 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4342, allocations: 0 / 0.7116 GB, free: 14.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.536/0.9702, allocations: 1.209 MB / 0.7128 GB, free: 14.73 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/0.9705, allocations: 202 kB / 0.713 GB, free: 14.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.637, allocations: 0 / 0.713 GB, free: 14.48 MB / 0.545 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)