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.007894/0.007894, allocations: 95.44 kB / 15.73 MB, free: 6.062 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.00191/0.00191, allocations: 197.6 kB / 16.68 MB, free: 5.984 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7735/0.7735, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 59.91 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.436, allocations: 80.2 MB / 0.6592 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002177/0.4382, allocations: 1.259 MB / 0.6604 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005329/0.4387, allocations: 298.3 kB / 0.6607 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.4388, allocations: 0 / 0.6607 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.4388, allocations: 0.75 kB / 0.6607 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.632e-05/0.4389, allocations: 14.25 kB / 0.6607 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.4391, allocations: 47.72 kB / 0.6608 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.422e-05/0.4392, allocations: 22.92 kB / 0.6608 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.4392, allocations: 9.25 kB / 0.6608 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.4393, allocations: 8.906 kB / 0.6608 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.038e-05/0.4393, allocations: 5.156 kB / 0.6608 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.4394, allocations: 5.312 kB / 0.6608 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.4395, allocations: 52.77 kB / 0.6609 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.4395, allocations: 2.297 kB / 0.6609 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.4396, allocations: 7.875 kB / 0.6609 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.4397, allocations: 49.22 kB / 0.6609 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4397, allocations: 1.75 kB / 0.6609 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4397, allocations: 4 kB / 0.6609 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.4397, allocations: 0 / 0.6609 GB, free: 8.723 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.0003277/0.4401, allocations: 335.9 kB / 0.6612 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4401, allocations: 10.67 kB / 0.6613 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.4401, allocations: 32.75 kB / 0.6613 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.4404, allocations: 21.56 kB / 0.6613 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.899e-05/0.4404, allocations: 164.8 kB / 0.6615 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4405, allocations: 10.44 kB / 0.6615 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.4405, allocations: 1.594 kB / 0.6615 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.4406, allocations: 41.61 kB / 0.6615 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.4406, allocations: 4.594 kB / 0.6615 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4406, allocations: 1.031 kB / 0.6615 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4406, allocations: 3.938 kB / 0.6615 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.139e-05/0.4407, allocations: 16.16 kB / 0.6615 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.4408, allocations: 153.7 kB / 0.6617 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.4426, allocations: 272.4 kB / 0.6619 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.4427, allocations: 20.61 kB / 0.662 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.4427, allocations: 0 / 0.662 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.4427, allocations: 44.66 kB / 0.662 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.4427, allocations: 0 / 0.662 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001649/0.4429, allocations: 60.52 kB / 0.6621 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.4429, allocations: 52.81 kB / 0.6621 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.364e-05/0.443, allocations: 96.55 kB / 0.6622 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.443, allocations: 29.64 kB / 0.6622 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.28e-05/0.443, allocations: 81.42 kB / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.443, allocations: 15 kB / 0.6623 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.4431, allocations: 21.52 kB / 0.6623 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.4431, allocations: 312.8 kB / 0.6626 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.4432, allocations: 9.906 kB / 0.6627 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.4432, allocations: 5.984 kB / 0.6627 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.374e-05/0.4432, allocations: 29.3 kB / 0.6627 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4432, allocations: 0 / 0.6627 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.719e-05/0.4433, allocations: 52.83 kB / 0.6627 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4433, allocations: 8.875 kB / 0.6627 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4434, allocations: 4.656 kB / 0.6627 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.4434, allocations: 1.125 kB / 0.6628 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.4434, allocations: 14.28 kB / 0.6628 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4435, allocations: 0.6562 kB / 0.6628 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.94e-05/0.4435, allocations: 1.594 kB / 0.6628 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4435, allocations: 4.547 kB / 0.6628 GB, free: 7.012 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.337e-05/0.4436, allocations: 107.9 kB / 0.6629 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.4436, allocations: 10.73 kB / 0.6629 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.4436, allocations: 8.062 kB / 0.6629 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4436, allocations: 4 kB / 0.6629 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4436, allocations: 1.922 kB / 0.6629 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4436, allocations: 0 / 0.6629 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.476e-05/0.4437, allocations: 158.6 kB / 0.663 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4437, allocations: 0 / 0.663 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.4438, allocations: 6.031 kB / 0.6631 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4438, allocations: 5.797 kB / 0.6631 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.4438, allocations: 0 / 0.6631 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4438, allocations: 1.156 kB / 0.6631 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4438, allocations: 4.547 kB / 0.6631 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.928e-05/0.4439, allocations: 82.2 kB / 0.6631 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.4439, allocations: 83.7 kB / 0.6632 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.444, allocations: 9.219 kB / 0.6632 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/0.444, allocations: 1.781 kB / 0.6632 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.444, allocations: 2.609 kB / 0.6632 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.444, allocations: 1.656 kB / 0.6632 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.834e-05/0.4441, allocations: 77.17 kB / 0.6633 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4441, allocations: 4.094 kB / 0.6633 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001875/0.4443, allocations: 5.875 kB / 0.6633 GB, free: 6.406 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.0002505/0.4445, allocations: 0.6184 MB / 0.6639 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.4446, allocations: 25.83 kB / 0.6639 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4446, allocations: 0 / 0.6639 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-05/0.4447, allocations: 18.61 kB / 0.664 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.4449, allocations: 7.938 kB / 0.664 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.4453, allocations: 163.1 kB / 0.6641 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.4454, allocations: 0.6759 MB / 0.6648 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.04e-05/0.4455, allocations: 6.656 kB / 0.6648 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.4455, allocations: 9.141 kB / 0.6648 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.4455, allocations: 0 / 0.6648 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.4634, allocations: 1.309 MB / 0.6661 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/7.979, allocations: 5.891 kB / 0.6661 GB, free: 4.285 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)