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: translateModel(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 110.4 kB / 17.03 MB, free: 6.094 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.00136/0.001361, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7251/0.7251, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3725, allocations: 76.15 MB / 0.5576 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002834/0.3754, allocations: 1.479 MB / 0.559 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.138/0.5134, allocations: 132.1 MB / 0.688 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.5136, allocations: 0 / 0.688 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.5136, allocations: 7.922 kB / 0.688 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.5137, allocations: 15.86 kB / 0.688 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.514, allocations: 70.59 kB / 0.6881 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.611e-05/0.5141, allocations: 55.72 kB / 0.6881 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.5142, allocations: 17.81 kB / 0.6881 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.5143, allocations: 23.92 kB / 0.6882 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.496e-05/0.5143, allocations: 23.91 kB / 0.6882 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.5144, allocations: 4 kB / 0.6882 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-05/0.5144, allocations: 12 kB / 0.6882 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.5145, allocations: 19.92 kB / 0.6882 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.5145, allocations: 19.88 kB / 0.6882 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.5146, allocations: 63.66 kB / 0.6883 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.5146, allocations: 0 / 0.6883 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5147, allocations: 0 / 0.6883 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.5147, allocations: 0 / 0.6883 GB, free: 14.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004762/0.5151, allocations: 371.4 kB / 0.6887 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.5152, allocations: 8.031 kB / 0.6887 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.5152, allocations: 12.84 kB / 0.6887 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.5153, allocations: 176.2 kB / 0.6888 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.5154, allocations: 384 / 0.6888 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.5154, allocations: 4.375 kB / 0.6888 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.5156, allocations: 78.14 kB / 0.6889 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5156, allocations: 8.125 kB / 0.6889 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5156, allocations: 7.938 kB / 0.6889 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5156, allocations: 0 / 0.6889 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.5159, allocations: 71.92 kB / 0.689 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.5163, allocations: 280.7 kB / 0.6893 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.5165, allocations: 54.64 kB / 0.6893 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.5166, allocations: 44.81 kB / 0.6894 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.5168, allocations: 93.16 kB / 0.6895 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.5168, allocations: 30.56 kB / 0.6895 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.5168, allocations: 0 / 0.6895 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005061/0.5173, allocations: 137.5 kB / 0.6896 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.5174, allocations: 51.41 kB / 0.6897 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.5175, allocations: 113.8 kB / 0.6898 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.5175, allocations: 29.7 kB / 0.6898 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.5175, allocations: 88.14 kB / 0.6899 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.5176, allocations: 11.8 kB / 0.6899 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.5176, allocations: 17.72 kB / 0.6899 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.5177, allocations: 318.8 kB / 0.6902 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.5178, allocations: 35.95 kB / 0.6903 GB, free: 12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.518, allocations: 27.97 kB / 0.6903 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.5182, allocations: 72.78 kB / 0.6903 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5182, allocations: 0 / 0.6903 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002839/0.5185, allocations: 97.89 kB / 0.6904 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.5185, allocations: 4 kB / 0.6904 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5185, allocations: 3.984 kB / 0.6904 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.5186, allocations: 4 kB / 0.6905 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.5187, allocations: 19.97 kB / 0.6905 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.5187, allocations: 0 / 0.6905 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-05/0.5188, allocations: 15.92 kB / 0.6905 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.5188, allocations: 0 / 0.6905 GB, free: 11.75 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 6.866e-05/0.5189, allocations: 117.8 kB / 0.6906 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.5189, allocations: 3.906 kB / 0.6906 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.5193, allocations: 113.5 kB / 0.6907 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5193, allocations: 7.938 kB / 0.6907 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5193, allocations: 0 / 0.6907 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5193, allocations: 3.984 kB / 0.6907 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.5195, allocations: 169.6 kB / 0.6909 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5195, allocations: 0 / 0.6909 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.386e-05/0.5196, allocations: 19.97 kB / 0.6909 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.5196, allocations: 4 kB / 0.6909 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.5196, allocations: 0 / 0.6909 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5196, allocations: 3.938 kB / 0.6909 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.5196, allocations: 0 / 0.6909 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.5199, allocations: 203.3 kB / 0.6911 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.52, allocations: 81.11 kB / 0.6912 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.52, allocations: 3.984 kB / 0.6912 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.5201, allocations: 15.98 kB / 0.6912 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.5202, allocations: 4 kB / 0.6912 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.5202, allocations: 4 kB / 0.6912 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.5202, allocations: 92.25 kB / 0.6913 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5202, allocations: 0 / 0.6913 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002348/0.5205, allocations: 12 kB / 0.6913 GB, free: 10.8 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.0001283/0.5206, allocations: 107.2 kB / 0.6914 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.5209, allocations: 67.92 kB / 0.6915 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5209, allocations: 0 / 0.6915 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.5211, allocations: 39.89 kB / 0.6915 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.5214, allocations: 19.94 kB / 0.6915 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.5217, allocations: 157.5 kB / 0.6917 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.5219, allocations: 0.6807 MB / 0.6923 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.522, allocations: 11.98 kB / 0.6924 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.522, allocations: 7.438 kB / 0.6924 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.522, allocations: 0 / 0.6924 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of Templates: time 0.003149/0.5252, allocations: 1.004 MB / 0.6933 GB, free: 8.676 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)