Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.pW_TDewPoi_comparison,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.001283/0.001283, allocations: 112.5 kB / 15.73 MB, free: 76 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.00119/0.00119, allocations: 188.9 kB / 16.67 MB, free: 6.543 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.958/0.958, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.89 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4266, allocations: 80.9 MB / 0.6641 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001882/0.4286, allocations: 1.298 MB / 0.6654 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.4296, allocations: 0.7674 MB / 0.6662 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.4296, allocations: 0 / 0.6662 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.4297, allocations: 3.938 kB / 0.6662 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.218e-05/0.4297, allocations: 5.422 kB / 0.6662 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.4302, allocations: 164.4 kB / 0.6663 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.052e-05/0.4303, allocations: 23.36 kB / 0.6664 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.4303, allocations: 2.469 kB / 0.6664 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.147e-05/0.4304, allocations: 17.73 kB / 0.6664 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.233e-05/0.4304, allocations: 11.98 kB / 0.6664 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.415e-06/0.4304, allocations: 1.125 kB / 0.6664 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.4308, allocations: 290 kB / 0.6667 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.4308, allocations: 5.406 kB / 0.6667 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.4308, allocations: 8.969 kB / 0.6667 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.4311, allocations: 172.5 kB / 0.6668 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4311, allocations: 0 / 0.6668 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4311, allocations: 1.375 kB / 0.6668 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.4311, allocations: 0 / 0.6668 GB, free: 5.258 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003311/0.4315, allocations: 374.5 kB / 0.6672 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4315, allocations: 9.625 kB / 0.6672 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.4315, allocations: 36.27 kB / 0.6672 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.4318, allocations: 18.66 kB / 0.6673 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.492e-05/0.4319, allocations: 161.7 kB / 0.6674 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.4319, allocations: 9.594 kB / 0.6674 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.4319, allocations: 1.656 kB / 0.6674 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.432, allocations: 47.97 kB / 0.6675 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.432, allocations: 7.922 kB / 0.6675 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.4321, allocations: 5.406 kB / 0.6675 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.4321, allocations: 0 / 0.6675 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.322e-05/0.4321, allocations: 24.73 kB / 0.6675 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.4323, allocations: 164.2 kB / 0.6677 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.4324, allocations: 55.62 kB / 0.6677 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/0.4324, allocations: 32.36 kB / 0.6677 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.4325, allocations: 1.562 kB / 0.6678 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.4325, allocations: 34.56 kB / 0.6678 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.4325, allocations: 0 / 0.6678 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0001794/0.4327, allocations: 78 kB / 0.6679 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.4327, allocations: 52.44 kB / 0.6679 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.003e-05/0.4327, allocations: 98.84 kB / 0.668 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.4328, allocations: 30.98 kB / 0.668 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.279e-05/0.4328, allocations: 84.14 kB / 0.6681 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.4328, allocations: 22.52 kB / 0.6681 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.4329, allocations: 13.53 kB / 0.6681 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.4329, allocations: 320.2 kB / 0.6685 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.76e-05/0.433, allocations: 11 kB / 0.6685 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.433, allocations: 13.33 kB / 0.6685 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.184e-05/0.433, allocations: 37.2 kB / 0.6685 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4331, allocations: 0 / 0.6685 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.145e-05/0.4332, allocations: 71.45 kB / 0.6686 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4332, allocations: 9.281 kB / 0.6686 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4332, allocations: 0 / 0.6686 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4332, allocations: 1.25 kB / 0.6686 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.4333, allocations: 19.42 kB / 0.6686 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4334, allocations: 0 / 0.6686 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.4334, allocations: 1.062 kB / 0.6686 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.4334, allocations: 2.469 kB / 0.6686 GB, free: 3.43 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 (6): * Single equations (assignments): 6 * 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.271e-05/0.4335, allocations: 108.7 kB / 0.6687 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.4335, allocations: 13.2 kB / 0.6687 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.4337, allocations: 95.44 kB / 0.6688 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4337, allocations: 1.281 kB / 0.6688 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4337, allocations: 0 / 0.6688 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4337, allocations: 0 / 0.6688 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.728e-05/0.4338, allocations: 169.5 kB / 0.669 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4338, allocations: 1.531 kB / 0.669 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.4339, allocations: 19.7 kB / 0.669 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4339, allocations: 9.031 kB / 0.669 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.4339, allocations: 0.9688 kB / 0.669 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4339, allocations: 0 / 0.669 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4339, allocations: 1.531 kB / 0.669 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.434, allocations: 94.86 kB / 0.6691 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.4341, allocations: 82.58 kB / 0.6692 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.4341, allocations: 5.312 kB / 0.6692 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.382e-05/0.4342, allocations: 5.188 kB / 0.6692 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.4342, allocations: 6.203 kB / 0.6692 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.4342, allocations: 5.594 kB / 0.6692 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.614e-05/0.4342, allocations: 76.88 kB / 0.6693 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4342, allocations: 0 / 0.6693 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001899/0.4344, allocations: 11.59 kB / 0.6693 GB, free: 2.73 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.0002767/0.4347, allocations: 0.6453 MB / 0.6699 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.4348, allocations: 38.97 kB / 0.67 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4348, allocations: 0 / 0.67 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.481e-05/0.4349, allocations: 26.48 kB / 0.67 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.4351, allocations: 10.41 kB / 0.67 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.4355, allocations: 171.9 kB / 0.6702 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.4357, allocations: 0.6745 MB / 0.6708 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.662e-05/0.4357, allocations: 10.44 kB / 0.6708 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.4358, allocations: 15.44 kB / 0.6708 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.4358, allocations: 0 / 0.6708 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.4521, allocations: 1.426 MB / 0.6722 GB, free: 424 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/8.147, allocations: 10.84 kB / 0.6722 GB, free: 420 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)