Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",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.007682/0.007682, allocations: 102.4 kB / 15.73 MB, free: 6.445 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.001982/0.001982, allocations: 198.2 kB / 16.68 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.6 MB / 426.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 75.81 kB / 0.5858 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4681, allocations: 81.01 MB / 0.6649 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001865/0.47, allocations: 1.26 MB / 0.6661 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004463/0.4704, allocations: 292 kB / 0.6664 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.4705, allocations: 0 / 0.6664 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.4705, allocations: 3.938 kB / 0.6664 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.33e-05/0.4705, allocations: 1.281 kB / 0.6664 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.4708, allocations: 56.92 kB / 0.6664 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.42e-05/0.4708, allocations: 20.53 kB / 0.6665 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.4709, allocations: 6.656 kB / 0.6665 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.142e-05/0.4709, allocations: 11.3 kB / 0.6665 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.471, allocations: 3.281 kB / 0.6665 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.471, allocations: 5.516 kB / 0.6665 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.4711, allocations: 55.89 kB / 0.6665 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.4711, allocations: 5.281 kB / 0.6665 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.4712, allocations: 3.844 kB / 0.6665 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.4713, allocations: 56.05 kB / 0.6666 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.4713, allocations: 0 / 0.6666 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.4713, allocations: 5.406 kB / 0.6666 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.4713, allocations: 0 / 0.6666 GB, free: 5.523 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.0002881/0.4716, allocations: 335.6 kB / 0.6669 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4716, allocations: 10.34 kB / 0.6669 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.262e-05/0.4717, allocations: 30.75 kB / 0.667 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.4719, allocations: 24.48 kB / 0.667 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.296e-05/0.4719, allocations: 160.4 kB / 0.6671 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.472, allocations: 5.469 kB / 0.6671 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.472, allocations: 2.719 kB / 0.6671 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.892e-05/0.4721, allocations: 48.88 kB / 0.6672 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.4721, allocations: 3.938 kB / 0.6672 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.4721, allocations: 1.125 kB / 0.6672 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.4721, allocations: 3.938 kB / 0.6672 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.531e-05/0.4722, allocations: 17.05 kB / 0.6672 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.4723, allocations: 153.8 kB / 0.6674 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.474, allocations: 269 kB / 0.6676 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.4741, allocations: 21.31 kB / 0.6676 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.4741, allocations: 5.438 kB / 0.6676 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.4741, allocations: 35.72 kB / 0.6677 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.4741, allocations: 0 / 0.6677 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001429/0.4742, allocations: 69.41 kB / 0.6677 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.815e-05/0.4743, allocations: 51.41 kB / 0.6678 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.39e-05/0.4743, allocations: 95.28 kB / 0.6679 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.4743, allocations: 30.92 kB / 0.6679 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.065e-05/0.4743, allocations: 80.14 kB / 0.668 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.4744, allocations: 14.16 kB / 0.668 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.4744, allocations: 20.91 kB / 0.668 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.748e-05/0.4744, allocations: 312 kB / 0.6683 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.4745, allocations: 11.42 kB / 0.6683 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.555e-05/0.4745, allocations: 12.91 kB / 0.6683 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.4745, allocations: 24.67 kB / 0.6684 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4745, allocations: 0 / 0.6684 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.706e-05/0.4746, allocations: 53.25 kB / 0.6684 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4746, allocations: 8.75 kB / 0.6684 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4746, allocations: 5.438 kB / 0.6684 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4747, allocations: 0 / 0.6684 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.4747, allocations: 12.52 kB / 0.6684 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4747, allocations: 1.469 kB / 0.6684 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.4748, allocations: 0 / 0.6684 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.4748, allocations: 5.5 kB / 0.6685 GB, free: 3.711 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 4.612e-05/0.4748, allocations: 107.3 kB / 0.6686 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.4748, allocations: 9.359 kB / 0.6686 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.4749, allocations: 9.031 kB / 0.6686 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4749, allocations: 4 kB / 0.6686 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4749, allocations: 0 / 0.6686 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.4749, allocations: 1.406 kB / 0.6686 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.746e-05/0.475, allocations: 154.6 kB / 0.6687 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.475, allocations: 0 / 0.6687 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.475, allocations: 5.312 kB / 0.6687 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.475, allocations: 7.922 kB / 0.6687 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.475, allocations: 1.312 kB / 0.6687 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4751, allocations: 0 / 0.6687 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4751, allocations: 0 / 0.6687 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.409e-05/0.4751, allocations: 86.66 kB / 0.6688 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.4752, allocations: 86.92 kB / 0.6689 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.4752, allocations: 3.938 kB / 0.6689 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.642e-05/0.4753, allocations: 1.5 kB / 0.6689 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.4753, allocations: 9.359 kB / 0.6689 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.4753, allocations: 1.281 kB / 0.6689 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.424e-05/0.4753, allocations: 76.41 kB / 0.669 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4753, allocations: 96 / 0.669 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001772/0.4755, allocations: 10.69 kB / 0.669 GB, free: 3.09 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 (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 Backend phase and start with SimCode phase: time 0.0002209/0.4757, allocations: 0.6137 MB / 0.6696 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.973e-05/0.4758, allocations: 30.55 kB / 0.6696 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4758, allocations: 0 / 0.6696 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.019e-05/0.4758, allocations: 11.83 kB / 0.6696 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.4761, allocations: 13.62 kB / 0.6697 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.4764, allocations: 156.2 kB / 0.6698 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.102e-05/0.4765, allocations: 0.6813 MB / 0.6705 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.815e-05/0.4766, allocations: 5.344 kB / 0.6705 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.4766, allocations: 8.75 kB / 0.6705 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.4766, allocations: 1.25 kB / 0.6705 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.4972, allocations: 1.317 MB / 0.6718 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.401, allocations: 10.08 kB / 0.6718 GB, free: 0.8164 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X_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_X.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)