Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature.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.DewPointTemperature,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_DewPointTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_DewPointTemperature",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.001245/0.001245, 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.001312/0.001312, allocations: 199.7 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7804/0.7804, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 64.67 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4366, allocations: 80.2 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.003174/0.4398, allocations: 1.513 MB / 0.5817 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.4411, allocations: 0.8912 MB / 0.5825 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.4412, allocations: 0 / 0.5825 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.412e-05/0.4413, allocations: 5.531 kB / 0.5825 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.266e-05/0.4414, allocations: 11.94 kB / 0.5826 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.4419, allocations: 194.9 kB / 0.5827 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.4421, allocations: 53.75 kB / 0.5828 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.4422, allocations: 20.58 kB / 0.5828 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.4423, allocations: 22.92 kB / 0.5828 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.4423, allocations: 22.95 kB / 0.5829 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.4424, allocations: 3.719 kB / 0.5829 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006678/0.443, allocations: 334.2 kB / 0.5832 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.4431, allocations: 7.688 kB / 0.5832 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.4431, allocations: 25.7 kB / 0.5832 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.4436, allocations: 224 kB / 0.5834 GB, free: 2.527 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4436, allocations: 0.7031 kB / 0.5834 GB, free: 2.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4436, allocations: 0.875 kB / 0.5834 GB, free: 2.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.4436, allocations: 0 / 0.5834 GB, free: 2.527 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005418/0.4441, allocations: 410.2 kB / 0.5838 GB, free: 2.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4442, allocations: 9.844 kB / 0.5838 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.4442, allocations: 37.19 kB / 0.5839 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.4445, allocations: 25.53 kB / 0.5839 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.4447, allocations: 181.5 kB / 0.5841 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.4447, allocations: 5.75 kB / 0.5841 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.4447, allocations: 3.312 kB / 0.5841 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.4449, allocations: 75.56 kB / 0.5841 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.445, allocations: 3.938 kB / 0.5841 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.445, allocations: 1.125 kB / 0.5841 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.445, allocations: 0.9688 kB / 0.5841 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.4452, allocations: 66.38 kB / 0.5842 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.4456, allocations: 302.6 kB / 0.5845 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.4459, allocations: 74.48 kB / 0.5846 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.446, allocations: 38.52 kB / 0.5846 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.446, allocations: 9.328 kB / 0.5846 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.446, allocations: 31.88 kB / 0.5846 GB, free: 1.387 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.4461, allocations: 0.8438 kB / 0.5846 GB, free: 1.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004115/0.4465, allocations: 111.4 kB / 0.5848 GB, free: 1.336 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.4465, allocations: 56.16 kB / 0.5848 GB, free: 1.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/0.4466, allocations: 111.5 kB / 0.5849 GB, free: 1.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.4466, allocations: 25.7 kB / 0.5849 GB, free: 1.133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.4466, allocations: 91.06 kB / 0.585 GB, free: 1.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.4467, allocations: 23.47 kB / 0.585 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.4467, allocations: 14.95 kB / 0.5851 GB, free: 1.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.4467, allocations: 322 kB / 0.5854 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.4469, allocations: 30.41 kB / 0.5854 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.846e-05/0.447, allocations: 24.41 kB / 0.5854 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.4472, allocations: 60.33 kB / 0.5855 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4472, allocations: 0 / 0.5855 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002307/0.4474, allocations: 89.75 kB / 0.5856 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4474, allocations: 4.75 kB / 0.5856 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4474, allocations: 4 kB / 0.5856 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4475, allocations: 4.562 kB / 0.5856 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.4485, allocations: 113.8 kB / 0.5857 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.4499, allocations: 1.487 MB / 0.5871 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.45, allocations: 6.656 kB / 0.5871 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.45, allocations: 2.266 kB / 0.5871 GB, free: 15.08 MB / 446.1 MB 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.831e-05/0.4501, allocations: 115.9 kB / 0.5873 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.4502, allocations: 6.594 kB / 0.5873 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.4508, allocations: 148.5 kB / 0.5874 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4508, allocations: 1.312 kB / 0.5874 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.4508, allocations: 0 / 0.5874 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4508, allocations: 1.594 kB / 0.5874 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.451, allocations: 180.8 kB / 0.5876 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.451, allocations: 3.938 kB / 0.5876 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.4511, allocations: 16.11 kB / 0.5876 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003288/0.4514, allocations: 38.22 kB / 0.5876 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4515, allocations: 1.984 kB / 0.5876 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.4528, allocations: 1.45 MB / 0.5891 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4528, allocations: 5.531 kB / 0.5891 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.4534, allocations: 221.7 kB / 0.5893 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.4534, allocations: 87.95 kB / 0.5894 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.4535, allocations: 1.812 kB / 0.5894 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4536, allocations: 9.703 kB / 0.5894 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.4536, allocations: 9.219 kB / 0.5894 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.4536, allocations: 2.422 kB / 0.5894 GB, free: 12.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.841e-05/0.4537, allocations: 87.72 kB / 0.5895 GB, free: 12.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4537, allocations: 0 / 0.5895 GB, free: 12.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.454, allocations: 13.69 kB / 0.5895 GB, free: 12.83 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008494/0.4548, allocations: 0.7558 MB / 0.5902 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.456, allocations: 163 kB / 0.5904 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.456, allocations: 0 / 0.5904 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.4564, allocations: 154.9 kB / 0.5905 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.4567, allocations: 16.39 kB / 0.5905 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.4586, allocations: 1.381 MB / 0.5919 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.4589, allocations: 0.6841 MB / 0.5925 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.597e-05/0.459, allocations: 3.312 kB / 0.5925 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.459, allocations: 19.05 kB / 0.5926 GB, free: 10.04 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4591, allocations: 4 kB / 0.5926 GB, free: 10.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.4833, allocations: 2.285 MB / 0.5948 GB, free: 9.648 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.41, allocations: 4.141 kB / 0.5948 GB, free: 9.648 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_DewPointTemperature.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1)