Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001596/0.001596, allocations: 109.4 kB / 16.41 MB, free: 6.504 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.00151/0.00151, allocations: 191.9 kB / 17.34 MB, free: 5.758 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.553/1.553, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8189/0.8189, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.78 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1631, allocations: 78.87 MB / 0.6505 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003004/0.1662, allocations: 1.632 MB / 0.6521 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5218/0.688, allocations: 151.5 MB / 0.8001 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.6882, allocations: 1.25 kB / 0.8001 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.6884, allocations: 18.67 kB / 0.8001 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.6886, allocations: 49.17 kB / 0.8002 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.6891, allocations: 143.4 kB / 0.8003 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.6893, allocations: 122.5 kB / 0.8004 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.6894, allocations: 33.75 kB / 0.8005 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.6907, allocations: 163.4 kB / 0.8006 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.6908, allocations: 47.5 kB / 0.8007 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.6908, allocations: 7.906 kB / 0.8007 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.6912, allocations: 183.3 kB / 0.8009 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.6913, allocations: 20.42 kB / 0.8009 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.6913, allocations: 47.52 kB / 0.8009 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.6917, allocations: 191.4 kB / 0.8011 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6917, allocations: 2.906 kB / 0.8011 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6917, allocations: 0 / 0.8011 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.6917, allocations: 0 / 0.8011 GB, free: 11.98 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006588/0.6924, allocations: 449.9 kB / 0.8015 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.6924, allocations: 10 kB / 0.8015 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.6925, allocations: 42.81 kB / 0.8016 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008922/0.6934, allocations: 85.92 kB / 0.8017 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.6936, allocations: 206.8 kB / 0.8019 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.6936, allocations: 4.125 kB / 0.8019 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.6937, allocations: 11.5 kB / 0.8019 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.6942, allocations: 132.2 kB / 0.802 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6942, allocations: 1.5 kB / 0.802 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.6942, allocations: 3.312 kB / 0.802 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.6942, allocations: 5.375 kB / 0.802 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005746/0.6948, allocations: 142.2 kB / 0.8022 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007658/0.6956, allocations: 413 kB / 0.8025 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007383/0.6963, allocations: 251.2 kB / 0.8028 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.6966, allocations: 80.42 kB / 0.8029 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.6966, allocations: 1.75 kB / 0.8029 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.6967, allocations: 34.56 kB / 0.8029 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.6967, allocations: 0 / 0.8029 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007938/0.6975, allocations: 215.7 kB / 0.8031 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.6975, allocations: 55.2 kB / 0.8032 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.6977, allocations: 144.9 kB / 0.8033 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.6977, allocations: 25.7 kB / 0.8033 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.6978, allocations: 105 kB / 0.8034 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.6978, allocations: 33.23 kB / 0.8035 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.6979, allocations: 30.11 kB / 0.8035 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.698, allocations: 325.7 kB / 0.8038 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.6983, allocations: 59.7 kB / 0.8038 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.6985, allocations: 73.86 kB / 0.8039 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.6989, allocations: 118.8 kB / 0.804 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.699, allocations: 1.875 kB / 0.804 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004991/0.6995, allocations: 166.2 kB / 0.8042 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6995, allocations: 5.5 kB / 0.8042 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6995, allocations: 0 / 0.8042 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.6995, allocations: 1.375 kB / 0.8042 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.6997, allocations: 28.88 kB / 0.8042 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.6997, allocations: 0 / 0.8042 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.6999, allocations: 20.89 kB / 0.8042 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.6999, allocations: 9.328 kB / 0.8043 GB, free: 10.02 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 (8): * Single equations (assignments): 8 * 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.0001062/0.7, allocations: 117.4 kB / 0.8044 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.7001, allocations: 15.8 kB / 0.8044 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.7001, allocations: 14.34 kB / 0.8044 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.7001, allocations: 6.188 kB / 0.8044 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7001, allocations: 0 / 0.8044 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7002, allocations: 1.922 kB / 0.8044 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008602/0.701, allocations: 459.4 kB / 0.8048 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.701, allocations: 0 / 0.8048 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.7012, allocations: 28.72 kB / 0.8049 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.7013, allocations: 8 kB / 0.8049 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.7013, allocations: 1.375 kB / 0.8049 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.7013, allocations: 5.312 kB / 0.8049 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7013, allocations: 5.953 kB / 0.8049 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.7019, allocations: 262.6 kB / 0.8051 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.7019, allocations: 85.77 kB / 0.8052 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.702, allocations: 4.562 kB / 0.8052 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.7021, allocations: 19.77 kB / 0.8052 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.7022, allocations: 9.547 kB / 0.8053 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.7022, allocations: 1.344 kB / 0.8053 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.704e-05/0.7023, allocations: 115 kB / 0.8054 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7023, allocations: 4 kB / 0.8054 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002841/0.7026, allocations: 28.06 kB / 0.8054 GB, free: 9.246 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 (8): * Single equations (assignments): 8 * 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.0009593/0.7036, allocations: 0.812 MB / 0.8062 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005105/0.7041, allocations: 119.6 kB / 0.8063 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7041, allocations: 4 kB / 0.8063 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.7043, allocations: 68.92 kB / 0.8064 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.7047, allocations: 41.97 kB / 0.8064 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.7074, allocations: 1.725 MB / 0.8081 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.7078, allocations: 0.7031 MB / 0.8088 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.7079, allocations: 34.02 kB / 0.8088 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.708, allocations: 31 kB / 0.8088 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of SimCode: time 8.12e-07/0.708, allocations: 0 / 0.8088 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.7322, allocations: 3.364 MB / 0.8121 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.852, allocations: 6.562 kB / 0.8121 GB, free: 5.383 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)