Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_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.005263/0.005263, allocations: 99.16 kB / 15.73 MB, free: 6.492 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.001386/0.001386, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8646/0.8646, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 76 kB / 0.5809 GB, free: 8.059 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4247, allocations: 80.2 MB / 0.6592 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00225/0.427, allocations: 1.264 MB / 0.6604 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006071/0.4276, allocations: 298.7 kB / 0.6607 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.4277, allocations: 0 / 0.6607 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.4277, allocations: 3.938 kB / 0.6607 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.4278, allocations: 6.641 kB / 0.6607 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.4281, allocations: 47.25 kB / 0.6608 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.863e-05/0.4282, allocations: 17.98 kB / 0.6608 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.4282, allocations: 16.09 kB / 0.6608 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.4283, allocations: 4.375 kB / 0.6608 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.4284, allocations: 3.875 kB / 0.6608 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.4284, allocations: 9.125 kB / 0.6608 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.4285, allocations: 53.72 kB / 0.6609 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.4286, allocations: 6.453 kB / 0.6609 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.4286, allocations: 8.188 kB / 0.6609 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.4288, allocations: 44.59 kB / 0.6609 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4288, allocations: 1 kB / 0.6609 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4288, allocations: 0 / 0.6609 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4288, allocations: 0 / 0.6609 GB, free: 8.738 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.0003604/0.4292, allocations: 335 kB / 0.6612 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4292, allocations: 15.31 kB / 0.6613 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.4292, allocations: 31.41 kB / 0.6613 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.4295, allocations: 21.8 kB / 0.6613 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.458e-05/0.4295, allocations: 166.3 kB / 0.6615 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4296, allocations: 6.562 kB / 0.6615 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.4296, allocations: 1.75 kB / 0.6615 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.4297, allocations: 45.36 kB / 0.6615 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4297, allocations: 3.938 kB / 0.6615 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4297, allocations: 4 kB / 0.6615 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4297, allocations: 1.75 kB / 0.6615 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.553e-05/0.4298, allocations: 14.59 kB / 0.6615 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.4299, allocations: 158 kB / 0.6617 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.4317, allocations: 269.4 kB / 0.6619 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.4318, allocations: 23.92 kB / 0.662 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.4318, allocations: 0 / 0.662 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.4318, allocations: 44.5 kB / 0.662 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4319, allocations: 0 / 0.662 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001595/0.432, allocations: 61.34 kB / 0.6621 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.4321, allocations: 55.97 kB / 0.6621 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.203e-05/0.4321, allocations: 95.78 kB / 0.6622 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.4321, allocations: 27.67 kB / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.066e-05/0.4321, allocations: 80.14 kB / 0.6623 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.4322, allocations: 14.77 kB / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.4322, allocations: 18.52 kB / 0.6623 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.322e-05/0.4322, allocations: 311.5 kB / 0.6626 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/0.4323, allocations: 10.56 kB / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.4323, allocations: 9.172 kB / 0.6627 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.032e-05/0.4324, allocations: 33.58 kB / 0.6627 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.4324, allocations: 0 / 0.6627 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.15e-05/0.4324, allocations: 52.59 kB / 0.6627 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4325, allocations: 9.906 kB / 0.6628 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4325, allocations: 0.6562 kB / 0.6628 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.4325, allocations: 0 / 0.6628 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.865e-05/0.4326, allocations: 10.88 kB / 0.6628 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.4326, allocations: 0.6562 kB / 0.6628 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.4326, allocations: 1.156 kB / 0.6628 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.4326, allocations: 6.047 kB / 0.6628 GB, free: 7.023 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.938e-05/0.4327, allocations: 111.9 kB / 0.6629 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.4327, allocations: 8.891 kB / 0.6629 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.4327, allocations: 8.391 kB / 0.6629 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4327, allocations: 1.156 kB / 0.6629 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4327, allocations: 0 / 0.6629 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4327, allocations: 1.781 kB / 0.6629 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.845e-05/0.4328, allocations: 153.5 kB / 0.663 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4328, allocations: 0.7031 kB / 0.663 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.4329, allocations: 18.03 kB / 0.6631 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4329, allocations: 5.625 kB / 0.6631 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.4329, allocations: 0 / 0.6631 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4329, allocations: 0.6562 kB / 0.6631 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4329, allocations: 5.344 kB / 0.6631 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.091e-05/0.433, allocations: 73.45 kB / 0.6631 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.433, allocations: 80.39 kB / 0.6632 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.433, allocations: 5.438 kB / 0.6632 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/0.4331, allocations: 9.703 kB / 0.6632 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.4331, allocations: 7.094 kB / 0.6632 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.4331, allocations: 1.344 kB / 0.6632 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.612e-05/0.4331, allocations: 77.36 kB / 0.6633 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4332, allocations: 0 / 0.6633 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001807/0.4333, allocations: 5.406 kB / 0.6633 GB, free: 6.418 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.0002308/0.4336, allocations: 0.6232 MB / 0.6639 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.712e-05/0.4337, allocations: 29.41 kB / 0.664 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4337, allocations: 0 / 0.664 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.223e-05/0.4337, allocations: 13.69 kB / 0.664 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.434, allocations: 8.453 kB / 0.664 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.4343, allocations: 160.2 kB / 0.6641 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.691e-05/0.4344, allocations: 0.6753 MB / 0.6648 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.042e-05/0.4345, allocations: 5.969 kB / 0.6648 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.4345, allocations: 8.656 kB / 0.6648 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.4345, allocations: 1.031 kB / 0.6648 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.4595, allocations: 1.307 MB / 0.6661 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.372, allocations: 13.98 kB / 0.6661 GB, free: 4.336 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)