Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.00551/0.00551, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001148/0.001148, allocations: 193.8 kB / 16.67 MB, free: 6.352 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7492/0.7492, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001606, allocations: 59.91 kB / 0.5809 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4567, allocations: 80.2 MB / 0.6592 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002253/0.459, allocations: 1.264 MB / 0.6604 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.4603, allocations: 0.8683 MB / 0.6613 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.4604, allocations: 0 / 0.6613 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.4604, allocations: 4.594 kB / 0.6613 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.668e-05/0.4605, allocations: 4.641 kB / 0.6613 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006771/0.4612, allocations: 197.4 kB / 0.6615 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.4612, allocations: 26.83 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.4613, allocations: 2 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.4613, allocations: 4.25 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.4614, allocations: 5.422 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.4614, allocations: 1.438 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.4618, allocations: 239.4 kB / 0.6617 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.4618, allocations: 6.125 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.4619, allocations: 8.578 kB / 0.6618 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.4622, allocations: 152.6 kB / 0.6619 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4622, allocations: 5.188 kB / 0.6619 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4622, allocations: 0 / 0.6619 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4622, allocations: 0 / 0.6619 GB, free: 8.145 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003722/0.4626, allocations: 356.9 kB / 0.6622 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4626, allocations: 9.812 kB / 0.6623 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.4627, allocations: 31.55 kB / 0.6623 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.4629, allocations: 12.89 kB / 0.6623 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.516e-05/0.4629, allocations: 166.9 kB / 0.6625 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.463, allocations: 5.719 kB / 0.6625 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.463, allocations: 9.094 kB / 0.6625 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.4631, allocations: 47.03 kB / 0.6625 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.4631, allocations: 0 / 0.6625 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.4632, allocations: 4 kB / 0.6625 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.4632, allocations: 1.188 kB / 0.6625 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.4632, allocations: 15.03 kB / 0.6625 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.4634, allocations: 154.5 kB / 0.6627 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009328/0.4643, allocations: 141.6 kB / 0.6628 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.4643, allocations: 22.81 kB / 0.6628 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.242e-05/0.4644, allocations: 84.28 kB / 0.6629 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.4645, allocations: 37.41 kB / 0.663 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.4645, allocations: 4 kB / 0.663 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001751/0.4647, allocations: 62.03 kB / 0.663 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.4647, allocations: 52.72 kB / 0.6631 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.23e-05/0.4647, allocations: 91.78 kB / 0.6632 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.4648, allocations: 32.09 kB / 0.6632 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.123e-05/0.4648, allocations: 80.14 kB / 0.6633 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.4648, allocations: 10.08 kB / 0.6633 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.4648, allocations: 19.38 kB / 0.6633 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.4649, allocations: 320.1 kB / 0.6636 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.322e-05/0.4649, allocations: 9.062 kB / 0.6636 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.465, allocations: 7.359 kB / 0.6636 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.278e-05/0.465, allocations: 29.3 kB / 0.6636 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.465, allocations: 0 / 0.6636 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.625e-05/0.4651, allocations: 58.3 kB / 0.6637 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4651, allocations: 5.406 kB / 0.6637 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4651, allocations: 0 / 0.6637 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4652, allocations: 0 / 0.6637 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.922e-05/0.4652, allocations: 11.28 kB / 0.6637 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.4652, allocations: 5.594 kB / 0.6637 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.4653, allocations: 0.8438 kB / 0.6637 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.4653, allocations: 1.094 kB / 0.6637 GB, free: 6.332 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 (4): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/0.4653, allocations: 121 kB / 0.6638 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.4654, allocations: 4.891 kB / 0.6638 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.4656, allocations: 83.7 kB / 0.6639 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4656, allocations: 0.9062 kB / 0.6639 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4657, allocations: 1.406 kB / 0.6639 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4657, allocations: 0.7031 kB / 0.6639 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.022e-05/0.4657, allocations: 158.6 kB / 0.6641 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4658, allocations: 1.531 kB / 0.6641 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.4658, allocations: 11.83 kB / 0.6641 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.4658, allocations: 0.5625 kB / 0.6641 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4658, allocations: 9.188 kB / 0.6641 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4658, allocations: 0.6562 kB / 0.6641 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4658, allocations: 5.438 kB / 0.6641 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.466, allocations: 85.84 kB / 0.6642 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.466, allocations: 83.89 kB / 0.6643 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.466, allocations: 1.719 kB / 0.6643 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.075e-05/0.4661, allocations: 5.844 kB / 0.6643 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.4661, allocations: 4 kB / 0.6643 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.4661, allocations: 5.188 kB / 0.6643 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.121e-05/0.4662, allocations: 77.3 kB / 0.6643 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4662, allocations: 0 / 0.6643 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002716/0.4664, allocations: 49.45 kB / 0.6644 GB, free: 5.656 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): 5 * 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.0005293/0.467, allocations: 0.6901 MB / 0.6651 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.4671, allocations: 31.27 kB / 0.6651 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4671, allocations: 3.938 kB / 0.6651 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.077e-05/0.4672, allocations: 20.98 kB / 0.6651 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.4673, allocations: 9.531 kB / 0.6651 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.4678, allocations: 180.8 kB / 0.6653 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.4679, allocations: 0.6766 MB / 0.666 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.482e-05/0.4679, allocations: 11.39 kB / 0.666 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.468, allocations: 11.2 kB / 0.666 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.468, allocations: 4 kB / 0.666 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.4869, allocations: 1.963 MB / 0.6679 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/8.09, allocations: 7.656 kB / 0.6679 GB, free: 3.094 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_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_Functions_Examples_pW_TDewPoi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)