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.004779/0.004779, allocations: 102 kB / 15.73 MB, free: 6.066 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.001095/0.001095, allocations: 196.6 kB / 16.68 MB, free: 5.973 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9796/0.9796, allocations: 135.1 MB / 425.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001417, allocations: 63.83 kB / 0.5851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4341, allocations: 80.92 MB / 0.6642 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001949/0.4361, allocations: 1.264 MB / 0.6654 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005202/0.4366, allocations: 292.1 kB / 0.6657 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.18e-05/0.4367, allocations: 0 / 0.6657 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.4367, allocations: 1.344 kB / 0.6657 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.92e-05/0.4368, allocations: 3.938 kB / 0.6657 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.437, allocations: 57.52 kB / 0.6657 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.618e-05/0.4371, allocations: 24.39 kB / 0.6658 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.4372, allocations: 6.156 kB / 0.6658 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.917e-05/0.4372, allocations: 3.281 kB / 0.6658 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.4373, allocations: 4.25 kB / 0.6658 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.4373, allocations: 0 / 0.6658 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.4374, allocations: 57.62 kB / 0.6658 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.4374, allocations: 9.203 kB / 0.6658 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.4375, allocations: 6.656 kB / 0.6659 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.4376, allocations: 48.7 kB / 0.6659 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4376, allocations: 0 / 0.6659 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4376, allocations: 4 kB / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.4376, allocations: 1.312 kB / 0.6659 GB, free: 5.902 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.0003051/0.4379, allocations: 335.5 kB / 0.6662 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.438, allocations: 9.75 kB / 0.6662 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.42e-05/0.438, allocations: 36.36 kB / 0.6663 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.4382, allocations: 19.03 kB / 0.6663 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.862e-05/0.4383, allocations: 169.8 kB / 0.6664 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.4383, allocations: 384 / 0.6664 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.4383, allocations: 5.719 kB / 0.6665 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.408e-05/0.4384, allocations: 41.41 kB / 0.6665 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4384, allocations: 9.594 kB / 0.6665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-06/0.4385, allocations: 0 / 0.6665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4385, allocations: 0 / 0.6665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.4385, allocations: 20.77 kB / 0.6665 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.4386, allocations: 159 kB / 0.6667 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.4404, allocations: 264.4 kB / 0.6669 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.4405, allocations: 21.88 kB / 0.6669 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.4405, allocations: 0 / 0.6669 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.4405, allocations: 39.84 kB / 0.667 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4405, allocations: 0 / 0.667 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001741/0.4407, allocations: 69.2 kB / 0.6671 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.4407, allocations: 56.66 kB / 0.6671 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.81e-05/0.4408, allocations: 95.14 kB / 0.6672 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.4408, allocations: 25.7 kB / 0.6672 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.898e-06/0.4408, allocations: 81.39 kB / 0.6673 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.4408, allocations: 13.19 kB / 0.6673 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.4409, allocations: 24.52 kB / 0.6673 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.112e-05/0.4409, allocations: 312.3 kB / 0.6676 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.4409, allocations: 8.438 kB / 0.6676 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.441, allocations: 9.094 kB / 0.6676 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.441, allocations: 28.31 kB / 0.6677 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.441, allocations: 3.938 kB / 0.6677 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.986e-05/0.4411, allocations: 52.56 kB / 0.6677 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4411, allocations: 9.25 kB / 0.6677 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4411, allocations: 0 / 0.6677 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4411, allocations: 5.188 kB / 0.6677 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.661e-05/0.4412, allocations: 5.062 kB / 0.6677 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4412, allocations: 1.031 kB / 0.6677 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.4412, allocations: 0 / 0.6677 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.4413, allocations: 1.156 kB / 0.6677 GB, free: 4.094 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.021e-05/0.4413, allocations: 112.3 kB / 0.6679 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.4413, allocations: 8.984 kB / 0.6679 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.4414, allocations: 11.48 kB / 0.6679 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4414, allocations: 1.469 kB / 0.6679 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4414, allocations: 4 kB / 0.6679 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.4414, allocations: 1.031 kB / 0.6679 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.41e-05/0.4414, allocations: 154.1 kB / 0.668 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.4415, allocations: 4 kB / 0.668 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.4415, allocations: 9.531 kB / 0.668 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4415, allocations: 5 kB / 0.668 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.4415, allocations: 0 / 0.668 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4415, allocations: 1.375 kB / 0.668 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4415, allocations: 3.938 kB / 0.6681 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.763e-05/0.4416, allocations: 77.44 kB / 0.6681 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.4417, allocations: 83.59 kB / 0.6682 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.4417, allocations: 11.88 kB / 0.6682 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.089e-05/0.4417, allocations: 1.188 kB / 0.6682 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.4418, allocations: 1.125 kB / 0.6682 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.4418, allocations: 2.156 kB / 0.6682 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.596e-05/0.4418, allocations: 76.25 kB / 0.6683 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4418, allocations: 0 / 0.6683 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001843/0.442, allocations: 9.844 kB / 0.6683 GB, free: 3.469 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.0002297/0.4422, allocations: 0.6195 MB / 0.6689 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.736e-05/0.4423, allocations: 30.17 kB / 0.6689 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4423, allocations: 1.469 kB / 0.6689 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.4423, allocations: 15.91 kB / 0.669 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.4426, allocations: 13.17 kB / 0.669 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.443, allocations: 152.6 kB / 0.6691 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.823e-05/0.4431, allocations: 0.6767 MB / 0.6698 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.095e-05/0.4431, allocations: 5.344 kB / 0.6698 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.4431, allocations: 8.906 kB / 0.6698 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4431, allocations: 0 / 0.6698 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.4594, allocations: 1.315 MB / 0.6711 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/7.984, allocations: 15.09 kB / 0.6711 GB, free: 1.191 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)