Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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/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/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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 182.8 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/package.mo): time 0.7528/0.7528, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.415/1.415, allocations: 222.9 MB / 403.4 MB, free: 7.066 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.001116/0.001116, allocations: 95.56 kB / 484.3 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 43.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1416, allocations: 80.2 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002566/0.1442, allocations: 1.56 MB / 0.6417 GB, free: 5.215 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4488/0.593, allocations: 129.9 MB / 0.7686 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.5931, allocations: 0 / 0.7686 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.5932, allocations: 0 / 0.7686 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.5933, allocations: 18.11 kB / 0.7686 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.5936, allocations: 59.03 kB / 0.7686 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.659e-05/0.5937, allocations: 50.83 kB / 0.7687 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.319e-05/0.5938, allocations: 21.98 kB / 0.7687 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.5e-05/0.5938, allocations: 19.33 kB / 0.7687 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.008e-05/0.5939, allocations: 19.14 kB / 0.7687 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.5939, allocations: 2.875 kB / 0.7687 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.482e-05/0.594, allocations: 18.92 kB / 0.7688 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.594, allocations: 12.8 kB / 0.7688 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.594, allocations: 20.67 kB / 0.7688 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.5942, allocations: 61.69 kB / 0.7688 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5942, allocations: 0 / 0.7688 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5942, allocations: 2.75 kB / 0.7689 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.5942, allocations: 0 / 0.7689 GB, free: 11.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000524/0.5947, allocations: 373 kB / 0.7692 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.5948, allocations: 14.06 kB / 0.7692 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.5948, allocations: 11.41 kB / 0.7692 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.595, allocations: 162.9 kB / 0.7694 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.595, allocations: 2.156 kB / 0.7694 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.595, allocations: 3.562 kB / 0.7694 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.5953, allocations: 72.73 kB / 0.7695 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.5953, allocations: 6.844 kB / 0.7695 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.5953, allocations: 3.938 kB / 0.7695 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5953, allocations: 4 kB / 0.7695 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.5956, allocations: 77.28 kB / 0.7696 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.596, allocations: 284.9 kB / 0.7698 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.5962, allocations: 56.8 kB / 0.7699 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.5963, allocations: 38.78 kB / 0.7699 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.5965, allocations: 93 kB / 0.77 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.5965, allocations: 32.69 kB / 0.77 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5965, allocations: 4 kB / 0.77 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0005219/0.5971, allocations: 127.5 kB / 0.7702 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.5971, allocations: 55.39 kB / 0.7702 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.5972, allocations: 117 kB / 0.7703 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.5972, allocations: 25.7 kB / 0.7703 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.5973, allocations: 94.02 kB / 0.7704 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.5973, allocations: 7.844 kB / 0.7704 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.5973, allocations: 16.55 kB / 0.7705 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5975, allocations: 321.6 kB / 0.7708 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.5976, allocations: 32.86 kB / 0.7708 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.5978, allocations: 38.25 kB / 0.7708 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.598, allocations: 67.81 kB / 0.7709 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.598, allocations: 0 / 0.7709 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003104/0.5984, allocations: 97.09 kB / 0.771 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.5984, allocations: 9.375 kB / 0.771 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.5984, allocations: 0 / 0.771 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.5984, allocations: 2.438 kB / 0.771 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.5985, allocations: 14.11 kB / 0.771 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5985, allocations: 3.984 kB / 0.771 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.5986, allocations: 11.95 kB / 0.771 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.5986, allocations: 0 / 0.771 GB, free: 9.527 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 8.374e-05/0.5987, allocations: 129.1 kB / 0.7712 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.5988, allocations: 6.859 kB / 0.7712 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.5991, allocations: 109.4 kB / 0.7713 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5992, allocations: 0 / 0.7713 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5992, allocations: 5.25 kB / 0.7713 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5992, allocations: 0 / 0.7713 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.5994, allocations: 173 kB / 0.7714 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5994, allocations: 4 kB / 0.7714 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.543e-05/0.5995, allocations: 16.64 kB / 0.7715 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5995, allocations: 0 / 0.7715 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.5995, allocations: 0 / 0.7715 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.5995, allocations: 3.984 kB / 0.7715 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5995, allocations: 3.938 kB / 0.7715 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007471/0.6003, allocations: 0.7818 MB / 0.7722 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.6003, allocations: 83.81 kB / 0.7723 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.6003, allocations: 0 / 0.7723 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.6004, allocations: 11.73 kB / 0.7723 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.6005, allocations: 10.16 kB / 0.7723 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.6005, allocations: 0 / 0.7723 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.866e-05/0.6006, allocations: 101.2 kB / 0.7724 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6006, allocations: 0 / 0.7724 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003227/0.6009, allocations: 12.62 kB / 0.7724 GB, free: 8.113 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.0001377/0.601, allocations: 103.7 kB / 0.7725 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000324/0.6014, allocations: 72.39 kB / 0.7726 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6014, allocations: 0 / 0.7726 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.6015, allocations: 39.58 kB / 0.7726 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.6018, allocations: 10.61 kB / 0.7727 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.6022, allocations: 285.5 kB / 0.7729 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.6025, allocations: 0.683 MB / 0.7736 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.6025, allocations: 2.438 kB / 0.7736 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.6026, allocations: 9.406 kB / 0.7736 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/0.6026, allocations: 4 kB / 0.7736 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of Templates: time 0.003003/0.6056, allocations: 0.868 MB / 0.7745 GB, free: 6.547 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)