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.01019/0.01019, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001532/0.001532, allocations: 194.8 kB / 16.68 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8218/0.8218, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 69.09 kB / 0.5808 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1498, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.003352/0.1532, allocations: 1.51 MB / 0.6606 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.1548, allocations: 0.8914 MB / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.155, allocations: 0 / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.1551, allocations: 7.922 kB / 0.6615 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.1552, allocations: 11.88 kB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.1559, allocations: 191.1 kB / 0.6617 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.1561, allocations: 63.72 kB / 0.6618 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1562, allocations: 12 kB / 0.6618 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.1563, allocations: 23.91 kB / 0.6618 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.1563, allocations: 19.92 kB / 0.6618 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1564, allocations: 4 kB / 0.6618 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006503/0.157, allocations: 335.5 kB / 0.6622 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.157, allocations: 11.98 kB / 0.6622 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.1571, allocations: 23.88 kB / 0.6622 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.1576, allocations: 235.5 kB / 0.6624 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1577, allocations: 0 / 0.6624 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.216e-06/0.1577, allocations: 0 / 0.6624 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.1577, allocations: 0 / 0.6624 GB, free: 7.441 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007124/0.1584, allocations: 402.8 kB / 0.6628 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.1585, allocations: 12.02 kB / 0.6628 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.843e-05/0.1585, allocations: 38.75 kB / 0.6629 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003539/0.1589, allocations: 24.91 kB / 0.6629 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.1592, allocations: 180.3 kB / 0.663 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1593, allocations: 4.375 kB / 0.663 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.1593, allocations: 384 / 0.6631 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.1596, allocations: 74.16 kB / 0.6631 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1596, allocations: 7.938 kB / 0.6631 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1596, allocations: 0 / 0.6631 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1596, allocations: 0 / 0.6631 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.1599, allocations: 67.94 kB / 0.6632 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/0.1604, allocations: 304.6 kB / 0.6635 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.1607, allocations: 74.66 kB / 0.6636 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.1608, allocations: 32.84 kB / 0.6636 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.1609, allocations: 7.938 kB / 0.6636 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1609, allocations: 30.56 kB / 0.6636 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 3.937e-06/0.1609, allocations: 96 / 0.6636 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0004471/0.1614, allocations: 117.6 kB / 0.6637 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1614, allocations: 55.41 kB / 0.6638 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.1615, allocations: 105.8 kB / 0.6639 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1615, allocations: 25.7 kB / 0.6639 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.1616, allocations: 96.03 kB / 0.664 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.1616, allocations: 15.89 kB / 0.664 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.1617, allocations: 13.72 kB / 0.664 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1618, allocations: 322.8 kB / 0.6643 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.1619, allocations: 23.97 kB / 0.6644 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.162, allocations: 28.36 kB / 0.6644 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.1623, allocations: 68.75 kB / 0.6645 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.1623, allocations: 0 / 0.6645 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002349/0.1625, allocations: 89.61 kB / 0.6645 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1625, allocations: 8 kB / 0.6645 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1625, allocations: 0 / 0.6645 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1626, allocations: 4 kB / 0.6646 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.1636, allocations: 111.9 kB / 0.6647 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.1651, allocations: 1.489 MB / 0.6661 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.007e-05/0.1652, allocations: 11.95 kB / 0.6661 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1653, allocations: 4.312 kB / 0.6661 GB, free: 3.254 MB / 0.4981 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 (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 9.322e-05/0.1654, allocations: 109.8 kB / 0.6662 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.1654, allocations: 12.02 kB / 0.6662 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005872/0.166, allocations: 142.4 kB / 0.6664 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.166, allocations: 3.938 kB / 0.6664 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.166, allocations: 4 kB / 0.6664 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.166, allocations: 3.938 kB / 0.6664 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.1662, allocations: 181.6 kB / 0.6666 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1662, allocations: 8.062 kB / 0.6666 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.1663, allocations: 8 kB / 0.6666 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000318/0.1666, allocations: 36.83 kB / 0.6666 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1667, allocations: 4 kB / 0.6666 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.168, allocations: 1.439 MB / 0.668 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.168, allocations: 32 / 0.668 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.1686, allocations: 236.2 kB / 0.6683 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.1687, allocations: 81.06 kB / 0.6683 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.1687, allocations: 0 / 0.6683 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1688, allocations: 15.92 kB / 0.6683 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.1688, allocations: 4 kB / 0.6683 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1688, allocations: 0 / 0.6683 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.008e-05/0.1689, allocations: 103.2 kB / 0.6684 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1689, allocations: 0 / 0.6684 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002581/0.1692, allocations: 12 kB / 0.6685 GB, free: 0.6094 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 (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.0008308/0.17, allocations: 0.7601 MB / 0.6692 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.1712, allocations: 147.9 kB / 0.6693 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1712, allocations: 4 kB / 0.6693 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.1715, allocations: 162.8 kB / 0.6695 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1718, allocations: 18.52 kB / 0.6695 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.1738, allocations: 1.402 MB / 0.6709 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.174, allocations: 0.6923 MB / 0.6716 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.97e-05/0.1741, allocations: 4 kB / 0.6716 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.1741, allocations: 15.44 kB / 0.6716 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1741, allocations: 0 / 0.6716 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.1945, allocations: 2.349 MB / 0.6739 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.39, allocations: 7.281 kB / 0.6739 GB, free: 11.09 MB / 0.5137 GB (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)