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.0007077/0.0007077, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007909/0.0007908, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.179/1.179, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5993/0.5993, allocations: 113.7 MB / 405.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 13.7 kB / 493.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1188, allocations: 77.11 MB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001052/0.1199, allocations: 0.9862 MB / 0.5579 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3443/0.4642, allocations: 119.6 MB / 0.6747 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.4643, allocations: 0 / 0.6747 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.4643, allocations: 0 / 0.6747 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.039e-05/0.4643, allocations: 3.938 kB / 0.6747 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.4646, allocations: 43.8 kB / 0.6747 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.482e-05/0.4646, allocations: 19.92 kB / 0.6747 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.4647, allocations: 3.938 kB / 0.6747 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.4647, allocations: 7.984 kB / 0.6747 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.4648, allocations: 11.98 kB / 0.6748 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.4648, allocations: 8 kB / 0.6748 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.093e-05/0.4648, allocations: 7.938 kB / 0.6748 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.4649, allocations: 8 kB / 0.6748 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.4649, allocations: 25.7 kB / 0.6748 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.042e-05/0.465, allocations: 18.38 kB / 0.6748 GB, free: 1.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.465, allocations: 0 / 0.6748 GB, free: 1.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.465, allocations: 0 / 0.6748 GB, free: 1.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.327e-06/0.465, allocations: 0 / 0.6748 GB, free: 1.52 MB / 494.1 MB 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.0002878/0.4653, allocations: 329.6 kB / 0.6751 GB, free: 1.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.4653, allocations: 16.03 kB / 0.6752 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/0.4653, allocations: 34.55 kB / 0.6752 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.4654, allocations: 0.7812 kB / 0.6752 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.871e-05/0.4655, allocations: 163.1 kB / 0.6753 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.4655, allocations: 29.64 kB / 0.6754 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.4655, allocations: 7.953 kB / 0.6754 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.4657, allocations: 37.69 kB / 0.6754 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.4657, allocations: 0 / 0.6754 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.4657, allocations: 0 / 0.6754 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.4657, allocations: 4 kB / 0.6754 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.607e-05/0.4658, allocations: 11.98 kB / 0.6754 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.4659, allocations: 161.6 kB / 0.6756 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.387e-05/0.466, allocations: 38.53 kB / 0.6756 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.466, allocations: 16.8 kB / 0.6756 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.4662, allocations: 97.14 kB / 0.6757 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.4662, allocations: 30.56 kB / 0.6758 GB, free: 380 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.4662, allocations: 0 / 0.6758 GB, free: 380 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001776/0.4664, allocations: 53.67 kB / 0.6758 GB, free: 320 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.4664, allocations: 63.34 kB / 0.6759 GB, free: 244 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.455e-05/0.4665, allocations: 93.86 kB / 0.676 GB, free: 140 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.4665, allocations: 25.7 kB / 0.676 GB, free: 108 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.181e-05/0.4665, allocations: 84.14 kB / 0.6761 GB, free: 20 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.4666, allocations: 11.89 kB / 0.6761 GB, free: 8 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/0.4666, allocations: 3.938 kB / 0.6761 GB, free: 4 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.4667, allocations: 310.8 kB / 0.6764 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.608e-05/0.4667, allocations: 4 kB / 0.6764 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.4667, allocations: 15.98 kB / 0.6764 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.459e-05/0.4668, allocations: 4 kB / 0.6764 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4668, allocations: 0 / 0.6764 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001023/0.4669, allocations: 53.67 kB / 0.6764 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.4669, allocations: 11.95 kB / 0.6765 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.4669, allocations: 0 / 0.6765 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.4669, allocations: 0 / 0.6765 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.467, allocations: 4 kB / 0.6765 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.467, allocations: 0.7812 kB / 0.6765 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.646e-05/0.467, allocations: 4 kB / 0.6765 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.467, allocations: 0 / 0.6765 GB, free: 15.59 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 (3): * Single equations (assignments): 3 * 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 5.527e-05/0.4671, allocations: 114.4 kB / 0.6766 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.4671, allocations: 19.89 kB / 0.6766 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.4673, allocations: 53.14 kB / 0.6766 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4673, allocations: 0 / 0.6766 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4673, allocations: 0 / 0.6766 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4673, allocations: 3.984 kB / 0.6767 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.419e-05/0.4674, allocations: 153.7 kB / 0.6768 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4674, allocations: 0 / 0.6768 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.4674, allocations: 11.98 kB / 0.6768 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4674, allocations: 0 / 0.6768 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.4674, allocations: 4 kB / 0.6768 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4674, allocations: 6.828 kB / 0.6768 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4674, allocations: 3.938 kB / 0.6768 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.4676, allocations: 81.61 kB / 0.6769 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.4676, allocations: 77.11 kB / 0.677 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.4676, allocations: 48 / 0.677 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.548e-05/0.4677, allocations: 7.984 kB / 0.677 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.4677, allocations: 11.94 kB / 0.677 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.4677, allocations: 0 / 0.677 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.569e-05/0.4677, allocations: 79.28 kB / 0.6771 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4678, allocations: 0 / 0.6771 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001732/0.4679, allocations: 12 kB / 0.6771 GB, free: 14.86 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 (3): * Single equations (assignments): 3 * 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.0003521/0.4683, allocations: 0.6311 MB / 0.6777 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.4684, allocations: 19.98 kB / 0.6777 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.4684, allocations: 0 / 0.6777 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.004e-05/0.4685, allocations: 12 kB / 0.6777 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.4686, allocations: 15.92 kB / 0.6777 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.4689, allocations: 170.6 kB / 0.6779 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.4691, allocations: 0.6731 MB / 0.6786 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.4692, allocations: 3.984 kB / 0.6786 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.4692, allocations: 11.44 kB / 0.6786 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.4692, allocations: 4 kB / 0.6786 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009745/0.479, allocations: 1.119 MB / 0.6797 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.4792, allocations: 202.5 kB / 0.6799 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.444/1.924, allocations: 7.031 kB / 0.6799 GB, free: 12.03 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: