Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.0013, allocations: 87.84 kB / 16.66 MB, free: 6.098 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.001633/0.001633, allocations: 182.7 kB / 17.57 MB, free: 5.816 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.38/1.38, allocations: 223.3 MB / 241.6 MB, free: 14.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.726/0.726, allocations: 115.5 MB / 408.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004739, allocations: 8.219 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3864, allocations: 77.52 MB / 0.5606 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001158/0.3876, allocations: 1.009 MB / 0.5616 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000778/0.3884, allocations: 0.5637 MB / 0.5621 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.451e-05/0.3884, allocations: 1.406 kB / 0.5621 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.3884, allocations: 0 / 0.5621 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.686e-05/0.3885, allocations: 11.55 kB / 0.5621 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.3888, allocations: 81.09 kB / 0.5622 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.638e-05/0.3888, allocations: 17.23 kB / 0.5622 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.3889, allocations: 6.688 kB / 0.5622 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.163e-05/0.3889, allocations: 7.688 kB / 0.5622 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.161e-05/0.389, allocations: 7.984 kB / 0.5622 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.389, allocations: 2.188 kB / 0.5622 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.3893, allocations: 146.2 kB / 0.5624 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.176e-06/0.3893, allocations: 0 / 0.5624 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.3893, allocations: 38.64 kB / 0.5624 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.3894, allocations: 67.77 kB / 0.5625 GB, free: 34.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3894, allocations: 0 / 0.5625 GB, free: 34.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3895, allocations: 0 / 0.5625 GB, free: 34.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.3895, allocations: 0 / 0.5625 GB, free: 34.3 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000259/0.3897, allocations: 346 kB / 0.5628 GB, free: 33.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.3898, allocations: 9.281 kB / 0.5628 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004029/0.3902, allocations: 25.69 kB / 0.5629 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.348e-05/0.3903, allocations: 176.8 kB / 0.563 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3903, allocations: 1.531 kB / 0.563 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.3903, allocations: 1.844 kB / 0.563 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3904, allocations: 47.92 kB / 0.5631 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3904, allocations: 192 / 0.5631 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3905, allocations: 10.09 kB / 0.5631 GB, free: 33.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3905, allocations: 3.938 kB / 0.5631 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.3906, allocations: 24.11 kB / 0.5631 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.3907, allocations: 159.9 kB / 0.5633 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.3909, allocations: 43.73 kB / 0.5633 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/0.391, allocations: 15.88 kB / 0.5633 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.391, allocations: 0.5312 kB / 0.5633 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.391, allocations: 37.19 kB / 0.5634 GB, free: 33.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.391, allocations: 5.359 kB / 0.5634 GB, free: 33.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002853/0.3913, allocations: 77.03 kB / 0.5634 GB, free: 33.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.3913, allocations: 53.75 kB / 0.5635 GB, free: 33.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.3914, allocations: 96.03 kB / 0.5636 GB, free: 33.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.3914, allocations: 25.7 kB / 0.5636 GB, free: 33.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.356e-05/0.3914, allocations: 82.92 kB / 0.5637 GB, free: 33.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.3914, allocations: 7.906 kB / 0.5637 GB, free: 33.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.3915, allocations: 12.61 kB / 0.5637 GB, free: 33.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.024e-05/0.3915, allocations: 313.1 kB / 0.564 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.3916, allocations: 14.16 kB / 0.564 GB, free: 32.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-05/0.3917, allocations: 10.41 kB / 0.564 GB, free: 32.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.3918, allocations: 32.48 kB / 0.5641 GB, free: 32.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3918, allocations: 1.094 kB / 0.5641 GB, free: 32.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001637/0.392, allocations: 61.78 kB / 0.5641 GB, free: 32.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.392, allocations: 6.062 kB / 0.5641 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.392, allocations: 3.938 kB / 0.5641 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.392, allocations: 3.094 kB / 0.5641 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.742e-05/0.3921, allocations: 7.938 kB / 0.5641 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3921, allocations: 1.094 kB / 0.5641 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.3922, allocations: 6.141 kB / 0.5641 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.3922, allocations: 4.094 kB / 0.5641 GB, free: 32.68 MB / 446.1 MB 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 (2): * Single equations (assignments): 2 * 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 4.701e-05/0.3923, allocations: 109.3 kB / 0.5642 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-06/0.3923, allocations: 1.062 kB / 0.5642 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.3923, allocations: 13.42 kB / 0.5643 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3923, allocations: 1.516 kB / 0.5643 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3923, allocations: 0 / 0.5643 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3923, allocations: 2.469 kB / 0.5643 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.13e-05/0.3924, allocations: 157.6 kB / 0.5644 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3924, allocations: 3.266 kB / 0.5644 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.3925, allocations: 8.297 kB / 0.5644 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3925, allocations: 0 / 0.5644 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3925, allocations: 6.328 kB / 0.5644 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3925, allocations: 0 / 0.5644 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3925, allocations: 3.359 kB / 0.5644 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.3927, allocations: 89.89 kB / 0.5645 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.3928, allocations: 85.92 kB / 0.5646 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3928, allocations: 5.672 kB / 0.5646 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-05/0.3929, allocations: 2.516 kB / 0.5646 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.3929, allocations: 2.703 kB / 0.5646 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3929, allocations: 3.828 kB / 0.5646 GB, free: 32.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.04e-05/0.3929, allocations: 83.02 kB / 0.5647 GB, free: 32.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3929, allocations: 0 / 0.5647 GB, free: 32.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002024/0.3931, allocations: 10.72 kB / 0.5647 GB, free: 32.1 MB / 446.1 MB 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 (2): * Single equations (assignments): 2 * 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.0001335/0.3933, allocations: 116.6 kB / 0.5648 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.3934, allocations: 33.91 kB / 0.5648 GB, free: 31.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3935, allocations: 0 / 0.5648 GB, free: 31.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.902e-05/0.3935, allocations: 16.97 kB / 0.5649 GB, free: 31.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.3937, allocations: 7.891 kB / 0.5649 GB, free: 31.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.3941, allocations: 151.2 kB / 0.565 GB, free: 31.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.895e-05/0.3942, allocations: 0.675 MB / 0.5657 GB, free: 31.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.3942, allocations: 17.03 kB / 0.5657 GB, free: 31.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3942, allocations: 0.5625 kB / 0.5657 GB, free: 31.14 MB / 446.1 MB Notification: Performance of Templates: time 0.002182/0.3964, allocations: 0.7779 MB / 0.5665 GB, free: 31.12 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)