Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001718/0.001718, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8329/0.8329, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.481/1.481, allocations: 222.9 MB / 403.4 MB, free: 7.078 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.001056/0.001056, allocations: 106 kB / 484.4 MB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009812/0.0009813, allocations: 51.92 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1514, allocations: 80.2 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002908/0.1544, allocations: 1.338 MB / 0.6415 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4351/0.5895, allocations: 129.9 MB / 0.7683 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.5895, allocations: 0 / 0.7683 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.5896, allocations: 0 / 0.7683 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/0.5897, allocations: 14.23 kB / 0.7683 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.59, allocations: 50.7 kB / 0.7684 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.5902, allocations: 29.28 kB / 0.7684 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.5902, allocations: 2.875 kB / 0.7684 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.994e-05/0.5903, allocations: 4.906 kB / 0.7684 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.41e-05/0.5903, allocations: 13.22 kB / 0.7684 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.5903, allocations: 0 / 0.7684 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.447e-05/0.5904, allocations: 11.7 kB / 0.7684 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.5904, allocations: 4 kB / 0.7684 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.5905, allocations: 16.77 kB / 0.7685 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.5906, allocations: 22.75 kB / 0.7685 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.5906, allocations: 0 / 0.7685 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.11e-07/0.5906, allocations: 0 / 0.7685 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.5906, allocations: 0 / 0.7685 GB, free: 11.95 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.0004301/0.5911, allocations: 340.9 kB / 0.7688 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5911, allocations: 9.688 kB / 0.7688 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.5911, allocations: 0.9375 kB / 0.7688 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.5913, allocations: 167.3 kB / 0.769 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.442e-05/0.5914, allocations: 36.56 kB / 0.769 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.5914, allocations: 384 / 0.769 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.5915, allocations: 41.72 kB / 0.769 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5915, allocations: 7.875 kB / 0.7691 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.5915, allocations: 0 / 0.7691 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5916, allocations: 1.219 kB / 0.7691 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.557e-05/0.5916, allocations: 15.09 kB / 0.7691 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.5918, allocations: 151.4 kB / 0.7692 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.119e-05/0.5919, allocations: 40.02 kB / 0.7693 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.592, allocations: 15.94 kB / 0.7693 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.5921, allocations: 87.08 kB / 0.7694 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.5922, allocations: 34.55 kB / 0.7694 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5922, allocations: 0 / 0.7694 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002291/0.5924, allocations: 63.22 kB / 0.7694 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.5925, allocations: 53.38 kB / 0.7695 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.449e-05/0.5925, allocations: 100.4 kB / 0.7696 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.5926, allocations: 29.64 kB / 0.7696 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.5926, allocations: 80.14 kB / 0.7697 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.5926, allocations: 14.69 kB / 0.7697 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.5927, allocations: 16.19 kB / 0.7697 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5928, allocations: 321.3 kB / 0.77 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.5928, allocations: 2.375 kB / 0.77 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.5929, allocations: 6.312 kB / 0.77 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.348e-05/0.593, allocations: 23.12 kB / 0.7701 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.593, allocations: 0 / 0.7701 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001219/0.5931, allocations: 52.23 kB / 0.7701 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5931, allocations: 10.81 kB / 0.7701 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5931, allocations: 0 / 0.7701 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5931, allocations: 4 kB / 0.7701 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/0.5932, allocations: 9.219 kB / 0.7701 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.5932, allocations: 0.5625 kB / 0.7701 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.5933, allocations: 6.469 kB / 0.7701 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.5933, allocations: 0 / 0.7701 GB, free: 10.14 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 7.557e-05/0.5934, allocations: 113 kB / 0.7703 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.5934, allocations: 11.16 kB / 0.7703 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.5936, allocations: 53.41 kB / 0.7703 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5936, allocations: 7.984 kB / 0.7703 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5936, allocations: 0.5 kB / 0.7703 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5936, allocations: 3.375 kB / 0.7703 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.5937, allocations: 147.8 kB / 0.7705 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5937, allocations: 7.922 kB / 0.7705 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.5938, allocations: 9.156 kB / 0.7705 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5938, allocations: 3.938 kB / 0.7705 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.5938, allocations: 6.688 kB / 0.7705 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5938, allocations: 0 / 0.7705 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5938, allocations: 0 / 0.7705 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.5942, allocations: 0.6329 MB / 0.7711 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.5943, allocations: 77.11 kB / 0.7712 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.5943, allocations: 0 / 0.7712 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.947e-05/0.5944, allocations: 6.094 kB / 0.7712 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.5944, allocations: 6.484 kB / 0.7712 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.5944, allocations: 4 kB / 0.7712 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.041e-05/0.5944, allocations: 78.03 kB / 0.7713 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5944, allocations: 0 / 0.7713 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002782/0.5947, allocations: 12 kB / 0.7713 GB, free: 8.902 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.0001523/0.5949, allocations: 105.5 kB / 0.7714 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.595, allocations: 24.83 kB / 0.7714 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.595, allocations: 0 / 0.7714 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.703e-05/0.5951, allocations: 19.33 kB / 0.7714 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.5953, allocations: 12.84 kB / 0.7714 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.5957, allocations: 243 kB / 0.7717 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.5959, allocations: 0.6794 MB / 0.7723 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.904e-05/0.5959, allocations: 6.406 kB / 0.7723 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.596, allocations: 9.969 kB / 0.7724 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of SimCode: time 2.1e-07/0.596, allocations: 0 / 0.7724 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of Templates: time 0.002297/0.5983, allocations: 498.5 kB / 0.7728 GB, free: 7.562 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)