Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.001096/0.001096, allocations: 101.7 kB / 16.27 MB, free: 5.977 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.001239/0.001239, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7609/0.7609, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3343, allocations: 77.92 MB / 0.5673 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002195/0.3365, allocations: 1.275 MB / 0.5685 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1358/0.4723, allocations: 132 MB / 0.6975 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.4724, allocations: 4 kB / 0.6975 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.4725, allocations: 0 / 0.6975 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.055e-05/0.4725, allocations: 3.938 kB / 0.6975 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.4729, allocations: 59.66 kB / 0.6975 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.892e-05/0.473, allocations: 23.92 kB / 0.6975 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.473, allocations: 0 / 0.6975 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.4731, allocations: 7.938 kB / 0.6976 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.4731, allocations: 11.98 kB / 0.6976 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.4731, allocations: 4 kB / 0.6976 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.55e-05/0.4732, allocations: 11.94 kB / 0.6976 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.4732, allocations: 7.984 kB / 0.6976 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.4733, allocations: 11.94 kB / 0.6976 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.91e-05/0.4734, allocations: 30.16 kB / 0.6976 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4734, allocations: 3.938 kB / 0.6976 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4734, allocations: 0 / 0.6976 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.4734, allocations: 0 / 0.6976 GB, free: 4.898 MB / 0.5294 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.0003985/0.4738, allocations: 339.4 kB / 0.698 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4739, allocations: 8.625 kB / 0.698 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.4739, allocations: 38.75 kB / 0.698 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.4739, allocations: 4.922 kB / 0.698 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.4741, allocations: 160.4 kB / 0.6982 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/0.4741, allocations: 30.27 kB / 0.6982 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.4742, allocations: 384 / 0.6982 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.4743, allocations: 49.94 kB / 0.6982 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.4743, allocations: 0 / 0.6982 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.4743, allocations: 4 kB / 0.6982 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.4743, allocations: 0 / 0.6982 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.466e-05/0.4744, allocations: 11.98 kB / 0.6982 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.4746, allocations: 157.7 kB / 0.6984 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.643e-05/0.4747, allocations: 30.61 kB / 0.6984 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.4748, allocations: 16.86 kB / 0.6984 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.4749, allocations: 93.19 kB / 0.6985 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.475, allocations: 38.44 kB / 0.6986 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.475, allocations: 0 / 0.6986 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002236/0.4752, allocations: 57.77 kB / 0.6986 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.4752, allocations: 55.41 kB / 0.6987 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.4753, allocations: 97.84 kB / 0.6988 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.4753, allocations: 33.7 kB / 0.6988 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.4754, allocations: 80.14 kB / 0.6989 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.4754, allocations: 11.83 kB / 0.6989 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.4754, allocations: 17.72 kB / 0.6989 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4756, allocations: 310.8 kB / 0.6992 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.86e-05/0.4756, allocations: 11.92 kB / 0.6992 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.4757, allocations: 8 kB / 0.6992 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.955e-05/0.4758, allocations: 32.78 kB / 0.6993 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4758, allocations: 0 / 0.6993 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001345/0.4759, allocations: 45.69 kB / 0.6993 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4759, allocations: 11.94 kB / 0.6993 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4759, allocations: 0 / 0.6993 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.476, allocations: 0 / 0.6993 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.476, allocations: 7.984 kB / 0.6993 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.476, allocations: 0 / 0.6993 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.4761, allocations: 4 kB / 0.6993 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.4761, allocations: 0 / 0.6993 GB, free: 2.906 MB / 0.5294 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 7.098e-05/0.4762, allocations: 109.8 kB / 0.6994 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.4762, allocations: 11.88 kB / 0.6994 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.4763, allocations: 61.11 kB / 0.6995 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4764, allocations: 0 / 0.6995 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4764, allocations: 0 / 0.6995 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.4764, allocations: 0 / 0.6995 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.4765, allocations: 161.6 kB / 0.6996 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4765, allocations: 0 / 0.6996 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.4765, allocations: 12 kB / 0.6997 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4766, allocations: 3.938 kB / 0.6997 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.4766, allocations: 0 / 0.6997 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.4766, allocations: 3.984 kB / 0.6997 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4766, allocations: 0 / 0.6997 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.4767, allocations: 73.06 kB / 0.6997 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.4768, allocations: 85.03 kB / 0.6998 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.4768, allocations: 8 kB / 0.6998 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.784e-05/0.4768, allocations: 4 kB / 0.6998 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.4769, allocations: 0 / 0.6998 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.4769, allocations: 4 kB / 0.6998 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.4769, allocations: 75.7 kB / 0.6999 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4769, allocations: 0 / 0.6999 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001877/0.4771, allocations: 11.98 kB / 0.6999 GB, free: 2.191 MB / 0.5294 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 (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 Backend phase and start with SimCode phase: time 0.0004496/0.4776, allocations: 0.6281 MB / 0.7005 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.4777, allocations: 27.92 kB / 0.7006 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4777, allocations: 0 / 0.7006 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.803e-05/0.4778, allocations: 11.98 kB / 0.7006 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.478, allocations: 10.19 kB / 0.7006 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.4784, allocations: 169.3 kB / 0.7007 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.4787, allocations: 0.6729 MB / 0.7014 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.4787, allocations: 7.984 kB / 0.7014 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.4788, allocations: 11.44 kB / 0.7014 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.4788, allocations: 0 / 0.7014 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.4969, allocations: 1.341 MB / 0.7027 GB, free: 15.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.617, allocations: 2.406 kB / 0.7027 GB, free: 15.34 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX_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_Functions_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)