Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_TDewPoi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_dev_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.001156/0.001156, allocations: 112.5 kB / 15.73 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 192.7 kB / 16.66 MB, free: 6.586 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9483/0.9483, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 59.91 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.436, allocations: 80.91 MB / 0.6641 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002086/0.4382, allocations: 1.28 MB / 0.6654 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.4393, allocations: 0.8632 MB / 0.6662 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.4394, allocations: 0 / 0.6662 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.4394, allocations: 4.844 kB / 0.6662 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-05/0.4395, allocations: 5.078 kB / 0.6662 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000669/0.4402, allocations: 199.1 kB / 0.6664 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.927e-05/0.4402, allocations: 24.86 kB / 0.6665 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.4403, allocations: 1.406 kB / 0.6665 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.524e-05/0.4403, allocations: 12.53 kB / 0.6665 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.4404, allocations: 8.047 kB / 0.6665 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.4404, allocations: 0 / 0.6665 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.4407, allocations: 239.4 kB / 0.6667 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.4407, allocations: 5 kB / 0.6667 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.4408, allocations: 4.375 kB / 0.6667 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.441, allocations: 149.2 kB / 0.6669 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.441, allocations: 0 / 0.6669 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.765e-06/0.441, allocations: 3.984 kB / 0.6669 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.441, allocations: 3.938 kB / 0.6669 GB, free: 5.211 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.0003403/0.4414, allocations: 356.1 kB / 0.6672 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4414, allocations: 10.09 kB / 0.6672 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.867e-05/0.4415, allocations: 31.84 kB / 0.6672 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.4416, allocations: 17.16 kB / 0.6673 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.03e-05/0.4417, allocations: 165.6 kB / 0.6674 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4417, allocations: 1.312 kB / 0.6674 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.4418, allocations: 5.125 kB / 0.6674 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.4419, allocations: 48.64 kB / 0.6675 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.4419, allocations: 1.438 kB / 0.6675 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4419, allocations: 4 kB / 0.6675 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4419, allocations: 0 / 0.6675 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.849e-05/0.442, allocations: 20.91 kB / 0.6675 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.4422, allocations: 150.6 kB / 0.6676 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009142/0.4431, allocations: 149.7 kB / 0.6678 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.4431, allocations: 22.02 kB / 0.6678 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.936e-05/0.4432, allocations: 82.05 kB / 0.6679 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.4433, allocations: 36.23 kB / 0.6679 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4433, allocations: 0 / 0.6679 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001696/0.4435, allocations: 60.69 kB / 0.668 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.4435, allocations: 52.94 kB / 0.668 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.768e-05/0.4435, allocations: 95.3 kB / 0.6681 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.4435, allocations: 25.7 kB / 0.6681 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.217e-05/0.4436, allocations: 80.14 kB / 0.6682 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.4436, allocations: 19.08 kB / 0.6682 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.4436, allocations: 12.09 kB / 0.6682 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.4437, allocations: 319.8 kB / 0.6686 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.4437, allocations: 4.375 kB / 0.6686 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.4437, allocations: 13.3 kB / 0.6686 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.4438, allocations: 32.64 kB / 0.6686 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4438, allocations: 0 / 0.6686 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.293e-05/0.4439, allocations: 56.56 kB / 0.6687 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4439, allocations: 6.281 kB / 0.6687 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4439, allocations: 0 / 0.6687 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4439, allocations: 0 / 0.6687 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.633e-05/0.444, allocations: 13.89 kB / 0.6687 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.444, allocations: 1.094 kB / 0.6687 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.444, allocations: 0 / 0.6687 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.444, allocations: 1.312 kB / 0.6687 GB, free: 3.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 4.583e-05/0.4441, allocations: 116.3 kB / 0.6688 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.4441, allocations: 5.422 kB / 0.6688 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.4443, allocations: 82.8 kB / 0.6689 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4443, allocations: 0 / 0.6689 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4443, allocations: 5.531 kB / 0.6689 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4444, allocations: 3.984 kB / 0.6689 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.789e-05/0.4444, allocations: 158.7 kB / 0.669 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4444, allocations: 1.312 kB / 0.669 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.422e-05/0.4445, allocations: 14.53 kB / 0.669 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4445, allocations: 1.125 kB / 0.669 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.4445, allocations: 7.938 kB / 0.6691 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4445, allocations: 1.219 kB / 0.6691 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4445, allocations: 0 / 0.6691 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.08e-05/0.4446, allocations: 89.88 kB / 0.6691 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.4447, allocations: 87.47 kB / 0.6692 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.4447, allocations: 0 / 0.6692 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.657e-05/0.4447, allocations: 1.625 kB / 0.6692 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.4448, allocations: 5.359 kB / 0.6692 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.4448, allocations: 2.625 kB / 0.6692 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.73e-05/0.4448, allocations: 80.53 kB / 0.6693 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4448, allocations: 0 / 0.6693 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002513/0.4451, allocations: 52.23 kB / 0.6694 GB, free: 2.625 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.000507/0.4456, allocations: 0.6855 MB / 0.67 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.4457, allocations: 28.08 kB / 0.6701 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4457, allocations: 5.25 kB / 0.6701 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.4457, allocations: 17.66 kB / 0.6701 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.4459, allocations: 11.92 kB / 0.6701 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.4463, allocations: 169.7 kB / 0.6703 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.848e-05/0.4464, allocations: 0.6747 MB / 0.6709 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.127e-05/0.4465, allocations: 11.8 kB / 0.6709 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.4465, allocations: 11.53 kB / 0.6709 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4465, allocations: 0 / 0.6709 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.4652, allocations: 1.974 MB / 0.6729 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/8.045, allocations: 11.62 kB / 0.6729 GB, free: 15.98 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)