Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.005534/0.005534, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001192/0.001192, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8015/0.8015, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 70.45 kB / 0.5851 GB, free: 21.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1475, allocations: 80.91 MB / 0.6642 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002838/0.1504, allocations: 1.287 MB / 0.6654 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.567/0.7174, allocations: 147.6 MB / 0.8096 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.7175, allocations: 0 / 0.8096 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.7176, allocations: 10.09 kB / 0.8096 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.7176, allocations: 6.438 kB / 0.8096 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.7182, allocations: 113.6 kB / 0.8097 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.826e-05/0.7182, allocations: 25.31 kB / 0.8097 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.7183, allocations: 2.031 kB / 0.8097 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.366e-05/0.7183, allocations: 5 kB / 0.8097 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.81e-05/0.7184, allocations: 12.17 kB / 0.8098 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.7184, allocations: 2.594 kB / 0.8098 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.7188, allocations: 176.6 kB / 0.8099 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.7188, allocations: 6.469 kB / 0.8099 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.7189, allocations: 3.188 kB / 0.8099 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.7191, allocations: 115.7 kB / 0.81 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7192, allocations: 0 / 0.81 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7192, allocations: 0 / 0.81 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.7192, allocations: 0 / 0.81 GB, free: 11.09 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004127/0.7196, allocations: 359.3 kB / 0.8104 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.7197, allocations: 12.41 kB / 0.8104 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.7197, allocations: 36.34 kB / 0.8104 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005773/0.7203, allocations: 32.3 kB / 0.8105 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.7204, allocations: 169.5 kB / 0.8106 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.7205, allocations: 3.938 kB / 0.8106 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.7205, allocations: 2.594 kB / 0.8106 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.7207, allocations: 47.55 kB / 0.8107 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7207, allocations: 4 kB / 0.8107 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.7207, allocations: 3.312 kB / 0.8107 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.7207, allocations: 1.562 kB / 0.8107 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.7209, allocations: 16.36 kB / 0.8107 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.7213, allocations: 252.9 kB / 0.8109 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.098e-05/0.7214, allocations: 29.11 kB / 0.811 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.7214, allocations: 10.64 kB / 0.811 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.7215, allocations: 0.9375 kB / 0.811 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.7215, allocations: 34.5 kB / 0.811 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.7215, allocations: 2.406 kB / 0.811 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002083/0.7217, allocations: 44.38 kB / 0.8111 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.7218, allocations: 58.11 kB / 0.8111 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.7219, allocations: 110.6 kB / 0.8112 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.722, allocations: 25.7 kB / 0.8112 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.722, allocations: 82.64 kB / 0.8113 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.722, allocations: 3.953 kB / 0.8113 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.7221, allocations: 23.48 kB / 0.8114 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7223, allocations: 318.4 kB / 0.8117 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.7223, allocations: 11.69 kB / 0.8117 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.263e-05/0.7224, allocations: 16.92 kB / 0.8117 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.313e-05/0.7225, allocations: 21.91 kB / 0.8117 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7225, allocations: 0 / 0.8117 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002003/0.7227, allocations: 61.33 kB / 0.8118 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.7227, allocations: 5.812 kB / 0.8118 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.7228, allocations: 5.172 kB / 0.8118 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.7228, allocations: 3.984 kB / 0.8118 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.7229, allocations: 12.98 kB / 0.8118 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.7229, allocations: 2.578 kB / 0.8118 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.7231, allocations: 11.25 kB / 0.8118 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.7231, allocations: 3.281 kB / 0.8118 GB, free: 9.371 MB / 0.5919 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 (3): * Single equations (assignments): 3 * 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 0.0001006/0.7232, allocations: 113.3 kB / 0.8119 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.7232, allocations: 12.94 kB / 0.8119 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.7233, allocations: 3.125 kB / 0.8119 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.7233, allocations: 0 / 0.8119 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7233, allocations: 0 / 0.8119 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.7233, allocations: 7.75 kB / 0.8119 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.7235, allocations: 155 kB / 0.8121 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7235, allocations: 0 / 0.8121 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.7235, allocations: 2.594 kB / 0.8121 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.7235, allocations: 0 / 0.8121 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.7235, allocations: 2.578 kB / 0.8121 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7235, allocations: 4 kB / 0.8121 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7235, allocations: 0 / 0.8121 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.7237, allocations: 135.5 kB / 0.8122 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.7237, allocations: 82.66 kB / 0.8123 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.7238, allocations: 0 / 0.8123 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.7239, allocations: 9.891 kB / 0.8123 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.7239, allocations: 3.938 kB / 0.8123 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.7239, allocations: 7.969 kB / 0.8123 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.914e-05/0.724, allocations: 91.3 kB / 0.8124 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.31e-07/0.724, allocations: 0 / 0.8124 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002564/0.7243, allocations: 15.12 kB / 0.8124 GB, free: 8.723 MB / 0.5919 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 (2): * Single equations (assignments): 2 * 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.0004995/0.7248, allocations: 0.6819 MB / 0.8131 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.7249, allocations: 22.89 kB / 0.8131 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7249, allocations: 0 / 0.8131 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.725, allocations: 6.219 kB / 0.8131 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.7253, allocations: 11.17 kB / 0.8131 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.7258, allocations: 153.1 kB / 0.8133 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.726, allocations: 0.6746 MB / 0.8139 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.669e-05/0.7261, allocations: 10.03 kB / 0.8139 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.7262, allocations: 14.56 kB / 0.814 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.7262, allocations: 0 / 0.814 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.7433, allocations: 1.581 MB / 0.8155 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/8.436, allocations: 13.86 kB / 0.8155 GB, free: 6.738 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_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_X_pSatpphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)