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.0007274/0.0007273, allocations: 93.33 kB / 15.7 MB, free: 472 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.000753/0.000753, allocations: 176.6 kB / 16.58 MB, free: 5.688 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.163/1.163, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.598/0.598, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 9.625 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 77.12 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001382/0.1198, allocations: 1.329 MB / 0.5582 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3573/0.4771, allocations: 137.7 MB / 0.6926 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.4773, allocations: 0 / 0.6926 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.4774, allocations: 11.86 kB / 0.6926 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.4776, allocations: 38.27 kB / 0.6927 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.4779, allocations: 122.7 kB / 0.6928 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.478, allocations: 107.6 kB / 0.6929 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.4782, allocations: 31.77 kB / 0.6929 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.4785, allocations: 111.7 kB / 0.693 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.942e-05/0.4785, allocations: 35.84 kB / 0.6931 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.4786, allocations: 4 kB / 0.6931 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.4789, allocations: 179.6 kB / 0.6932 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.4789, allocations: 19.91 kB / 0.6933 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.479, allocations: 45.7 kB / 0.6933 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.4792, allocations: 123.8 kB / 0.6934 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4792, allocations: 0 / 0.6934 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4792, allocations: 4 kB / 0.6934 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.4792, allocations: 0 / 0.6934 GB, free: 15.11 MB / 0.5137 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.000532/0.4797, allocations: 443.5 kB / 0.6938 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.4798, allocations: 8.031 kB / 0.6938 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.4798, allocations: 38.56 kB / 0.6939 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007907/0.4806, allocations: 75.81 kB / 0.694 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.4808, allocations: 202.8 kB / 0.6942 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.4808, allocations: 8 kB / 0.6942 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.4809, allocations: 4 kB / 0.6942 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.4812, allocations: 154.2 kB / 0.6943 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.4813, allocations: 3.938 kB / 0.6943 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.4813, allocations: 0 / 0.6943 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.4813, allocations: 4 kB / 0.6943 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.4818, allocations: 159.9 kB / 0.6945 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.4824, allocations: 412.4 kB / 0.6949 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.483, allocations: 267.6 kB / 0.6951 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.4832, allocations: 84.8 kB / 0.6952 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.4833, allocations: 3.984 kB / 0.6952 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.4833, allocations: 38.5 kB / 0.6952 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.4833, allocations: 4 kB / 0.6952 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.000663/0.484, allocations: 249.4 kB / 0.6955 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.484, allocations: 55.39 kB / 0.6955 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.4841, allocations: 139.5 kB / 0.6957 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.4841, allocations: 29.7 kB / 0.6957 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.4842, allocations: 108.2 kB / 0.6958 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.4842, allocations: 23.78 kB / 0.6958 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-06/0.4842, allocations: 0 / 0.6958 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.4843, allocations: 322.8 kB / 0.6961 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.4845, allocations: 67.95 kB / 0.6962 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.4847, allocations: 86.52 kB / 0.6963 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.4849, allocations: 67.98 kB / 0.6963 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4849, allocations: 0 / 0.6963 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004203/0.4854, allocations: 185.4 kB / 0.6965 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.4854, allocations: 4 kB / 0.6965 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4854, allocations: 0 / 0.6965 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.4854, allocations: 0 / 0.6965 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.4856, allocations: 41.97 kB / 0.6966 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.4856, allocations: 0 / 0.6966 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.4858, allocations: 27.88 kB / 0.6966 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4858, allocations: 4 kB / 0.6966 GB, free: 11.6 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.444e-05/0.4859, allocations: 114.5 kB / 0.6967 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.4859, allocations: 15.84 kB / 0.6967 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.4859, allocations: 24.66 kB / 0.6967 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.486, allocations: 0 / 0.6967 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.486, allocations: 0 / 0.6967 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.486, allocations: 0 / 0.6967 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006934/0.4867, allocations: 490.7 kB / 0.6972 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4867, allocations: 4 kB / 0.6972 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.4869, allocations: 31.97 kB / 0.6972 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4869, allocations: 0 / 0.6972 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4869, allocations: 3.984 kB / 0.6972 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.4869, allocations: 8.719 kB / 0.6973 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4869, allocations: 0.5 kB / 0.6973 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.4874, allocations: 287.2 kB / 0.6975 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.4874, allocations: 85.02 kB / 0.6976 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.4874, allocations: 0 / 0.6976 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.4876, allocations: 27.86 kB / 0.6976 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.4876, allocations: 11.98 kB / 0.6976 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.4877, allocations: 4 kB / 0.6977 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.032e-05/0.4877, allocations: 113.1 kB / 0.6978 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4877, allocations: 0 / 0.6978 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002401/0.488, allocations: 32 kB / 0.6978 GB, free: 10.28 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007132/0.4887, allocations: 0.8306 MB / 0.6986 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000424/0.4891, allocations: 147.9 kB / 0.6987 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4891, allocations: 0 / 0.6987 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.4893, allocations: 79.88 kB / 0.6988 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.4897, allocations: 31.97 kB / 0.6988 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.4911, allocations: 0.8132 MB / 0.6996 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.4913, allocations: 0.7005 MB / 0.7003 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.4915, allocations: 36.33 kB / 0.7004 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.4915, allocations: 31.42 kB / 0.7004 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4915, allocations: 0 / 0.7004 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.503, allocations: 2.978 MB / 0.7033 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/0.5032, allocations: 199 kB / 0.7035 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.026, allocations: 0 / 0.7035 GB, free: 4.492 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) Environment - environmentSimulation: