Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_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.0008623/0.0008624, allocations: 93.5 kB / 16.02 MB, free: 80 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.001139/0.001139, allocations: 184.6 kB / 16.92 MB, free: 6.934 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.457/1.457, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6944/0.6944, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003126, allocations: 12 kB / 495.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1626, allocations: 77.53 MB / 0.56 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001802/0.1645, allocations: 1.212 MB / 0.5612 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4402/0.6047, allocations: 128.5 MB / 0.6867 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.6048, allocations: 0 / 0.6867 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.6049, allocations: 7.922 kB / 0.6868 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.469e-05/0.605, allocations: 11.92 kB / 0.6868 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.6054, allocations: 54.33 kB / 0.6868 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.6055, allocations: 47.84 kB / 0.6869 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.6056, allocations: 19.98 kB / 0.6869 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.058e-05/0.6057, allocations: 19.92 kB / 0.6869 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.6057, allocations: 19.86 kB / 0.6869 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.6057, allocations: 4 kB / 0.6869 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.6058, allocations: 19.92 kB / 0.6869 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.6059, allocations: 3.984 kB / 0.6869 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.6059, allocations: 45.58 kB / 0.687 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.6061, allocations: 54.3 kB / 0.687 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.6061, allocations: 0 / 0.687 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.477e-06/0.6061, allocations: 7.922 kB / 0.687 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.6061, allocations: 0 / 0.687 GB, free: 4.191 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005625/0.6067, allocations: 378.6 kB / 0.6874 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.6067, allocations: 8.031 kB / 0.6874 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/0.6068, allocations: 34.75 kB / 0.6874 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.6068, allocations: 8.844 kB / 0.6875 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.607, allocations: 168.4 kB / 0.6876 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.607, allocations: 4.375 kB / 0.6876 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.607, allocations: 4.375 kB / 0.6876 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.6073, allocations: 83.03 kB / 0.6877 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.6073, allocations: 3.938 kB / 0.6877 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.6074, allocations: 0 / 0.6877 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.6074, allocations: 8 kB / 0.6877 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.6077, allocations: 91.92 kB / 0.6878 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.6082, allocations: 284.7 kB / 0.6881 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.6084, allocations: 78.45 kB / 0.6881 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.6086, allocations: 44.92 kB / 0.6882 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.6088, allocations: 93.09 kB / 0.6883 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.6088, allocations: 30.56 kB / 0.6883 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6089, allocations: 0 / 0.6883 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006238/0.6095, allocations: 173.4 kB / 0.6885 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.6095, allocations: 55.41 kB / 0.6885 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.6097, allocations: 117.8 kB / 0.6886 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.6097, allocations: 25.7 kB / 0.6887 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.6098, allocations: 96.19 kB / 0.6888 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.6098, allocations: 7.906 kB / 0.6888 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.6098, allocations: 9.719 kB / 0.6888 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.61, allocations: 322.8 kB / 0.6891 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.6102, allocations: 43.97 kB / 0.6891 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.6103, allocations: 39.97 kB / 0.6892 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.6106, allocations: 92.78 kB / 0.6893 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.6106, allocations: 4 kB / 0.6893 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003628/0.611, allocations: 129.4 kB / 0.6894 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.611, allocations: 7.984 kB / 0.6894 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.611, allocations: 0.8125 kB / 0.6894 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6111, allocations: 0 / 0.6894 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.6112, allocations: 19.98 kB / 0.6894 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6112, allocations: 0 / 0.6894 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.532e-05/0.6113, allocations: 23.92 kB / 0.6894 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.6113, allocations: 0 / 0.6894 GB, free: 1.504 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.6114, allocations: 121.8 kB / 0.6895 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.6115, allocations: 7.906 kB / 0.6896 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.6119, allocations: 129.5 kB / 0.6897 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.6119, allocations: 5.875 kB / 0.6897 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6119, allocations: 3.938 kB / 0.6897 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6119, allocations: 0 / 0.6897 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.6121, allocations: 169.6 kB / 0.6898 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6121, allocations: 7.984 kB / 0.6899 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.6123, allocations: 19.98 kB / 0.6899 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.6123, allocations: 0 / 0.6899 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.6123, allocations: 0 / 0.6899 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.6123, allocations: 0 / 0.6899 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6123, allocations: 0 / 0.6899 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.6127, allocations: 227.8 kB / 0.6901 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.6128, allocations: 81.02 kB / 0.6902 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.6128, allocations: 48 / 0.6902 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.6129, allocations: 20.47 kB / 0.6902 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.613, allocations: 7.984 kB / 0.6902 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.613, allocations: 0 / 0.6902 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.6131, allocations: 87.83 kB / 0.6903 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6131, allocations: 3.938 kB / 0.6903 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002436/0.6133, allocations: 23.98 kB / 0.6903 GB, free: 0.5039 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 (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.0007346/0.6141, allocations: 0.763 MB / 0.6911 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.6144, allocations: 91.92 kB / 0.6911 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6144, allocations: 3.938 kB / 0.6911 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.6146, allocations: 55.89 kB / 0.6912 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.6149, allocations: 6.188 kB / 0.6912 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.617, allocations: 1.488 MB / 0.6927 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.6174, allocations: 0.6848 MB / 0.6933 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.6174, allocations: 0 / 0.6933 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.6175, allocations: 19.42 kB / 0.6933 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of SimCode: time 2.625e-06/0.6175, allocations: 4 kB / 0.6933 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.6307, allocations: 1.722 MB / 0.695 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000424/0.6312, allocations: 202.9 kB / 0.6952 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.487, allocations: 0 / 0.6952 GB, free: 11.43 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)