Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8222/0.8222, allocations: 133.3 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 404.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009816/0.0009816, allocations: 103.8 kB / 485.9 MB, free: 7.227 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001006, allocations: 55.91 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1358, allocations: 80.43 MB / 0.6421 GB, free: 5.426 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002753/0.1386, allocations: 1.329 MB / 0.6434 GB, free: 4.078 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4617/0.6003, allocations: 129.9 MB / 0.7703 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.6004, allocations: 6.344 kB / 0.7703 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.6005, allocations: 0 / 0.7703 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.25e-05/0.6005, allocations: 0 / 0.7703 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.6008, allocations: 49.98 kB / 0.7703 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.418e-05/0.6009, allocations: 26.7 kB / 0.7704 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.6009, allocations: 5.891 kB / 0.7704 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.601, allocations: 5.562 kB / 0.7704 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.601, allocations: 16.61 kB / 0.7704 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.6011, allocations: 0 / 0.7704 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.315e-05/0.6011, allocations: 11.94 kB / 0.7704 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.6012, allocations: 3.984 kB / 0.7704 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.6012, allocations: 16.16 kB / 0.7704 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.942e-05/0.6013, allocations: 19.7 kB / 0.7704 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6013, allocations: 0 / 0.7704 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6013, allocations: 0 / 0.7704 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.6013, allocations: 0 / 0.7704 GB, free: 10.18 MB / 0.5105 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.0003832/0.6017, allocations: 340.7 kB / 0.7708 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.6017, allocations: 10.16 kB / 0.7708 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.6018, allocations: 0.9375 kB / 0.7708 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.6019, allocations: 170.5 kB / 0.7709 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.511e-05/0.602, allocations: 36.48 kB / 0.771 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.602, allocations: 3.344 kB / 0.771 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.6021, allocations: 35.09 kB / 0.771 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.6021, allocations: 3.938 kB / 0.771 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.6021, allocations: 0 / 0.771 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.6021, allocations: 4 kB / 0.771 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.526e-05/0.6022, allocations: 22.36 kB / 0.771 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.6024, allocations: 152 kB / 0.7712 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.255e-05/0.6025, allocations: 29.86 kB / 0.7712 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.6025, allocations: 13.25 kB / 0.7712 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.6027, allocations: 92.97 kB / 0.7713 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.6027, allocations: 30.56 kB / 0.7713 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.6027, allocations: 0 / 0.7713 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002438/0.603, allocations: 73.77 kB / 0.7714 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.603, allocations: 55.39 kB / 0.7715 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.6031, allocations: 92.52 kB / 0.7716 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.6031, allocations: 25.7 kB / 0.7716 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/0.6031, allocations: 88.14 kB / 0.7717 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.6032, allocations: 14 kB / 0.7717 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.6032, allocations: 18.98 kB / 0.7717 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6033, allocations: 314.8 kB / 0.772 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/0.6034, allocations: 2.688 kB / 0.772 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.6034, allocations: 10.61 kB / 0.772 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.38e-05/0.6035, allocations: 22.75 kB / 0.772 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6035, allocations: 4 kB / 0.772 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001167/0.6036, allocations: 52.16 kB / 0.7721 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6037, allocations: 11.28 kB / 0.7721 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6037, allocations: 0 / 0.7721 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.6037, allocations: 0 / 0.7721 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.6037, allocations: 4.719 kB / 0.7721 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.6038, allocations: 1.969 kB / 0.7721 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.6038, allocations: 3.984 kB / 0.7721 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.6038, allocations: 2.688 kB / 0.7721 GB, free: 8.371 MB / 0.5105 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.862e-05/0.6039, allocations: 113.8 kB / 0.7722 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.6039, allocations: 10.66 kB / 0.7722 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.6041, allocations: 57.73 kB / 0.7723 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6041, allocations: 3.938 kB / 0.7723 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6041, allocations: 2.5 kB / 0.7723 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.6041, allocations: 0 / 0.7723 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.593e-05/0.6042, allocations: 151.5 kB / 0.7724 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6042, allocations: 6.438 kB / 0.7724 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.6042, allocations: 2.75 kB / 0.7724 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6043, allocations: 7.938 kB / 0.7724 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.6043, allocations: 2.312 kB / 0.7724 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6043, allocations: 0 / 0.7724 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6043, allocations: 0 / 0.7724 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.6046, allocations: 0.6296 MB / 0.7731 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.6047, allocations: 81.11 kB / 0.7731 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.6047, allocations: 1.812 kB / 0.7731 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.039e-05/0.6048, allocations: 3.984 kB / 0.7731 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.6048, allocations: 3 kB / 0.7731 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-06/0.6048, allocations: 0 / 0.7731 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.195e-05/0.6048, allocations: 86.12 kB / 0.7732 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6048, allocations: 0 / 0.7732 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002891/0.6051, allocations: 13.75 kB / 0.7732 GB, free: 7.133 MB / 0.5105 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.0001479/0.6053, allocations: 109.7 kB / 0.7733 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.6054, allocations: 32.62 kB / 0.7734 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6054, allocations: 0 / 0.7734 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/0.6055, allocations: 7.094 kB / 0.7734 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.6057, allocations: 14.36 kB / 0.7734 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.6061, allocations: 250.2 kB / 0.7736 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.6063, allocations: 0.6783 MB / 0.7743 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.059e-05/0.6063, allocations: 2.719 kB / 0.7743 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.6064, allocations: 7.438 kB / 0.7743 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.6064, allocations: 0 / 0.7743 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of Templates: time 0.002228/0.6086, allocations: 0.4904 MB / 0.7748 GB, free: 5.793 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)