Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00103/0.001031, allocations: 110 kB / 16.38 MB, free: 6.008 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.0009995/0.0009996, allocations: 188.3 kB / 17.31 MB, free: 5.617 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 292.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8653/0.8653, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 95.86 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3872, allocations: 86.98 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002019/0.3893, allocations: 1.28 MB / 0.7682 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008317/0.3902, allocations: 0.5711 MB / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.3902, allocations: 0 / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.305e-05/0.3902, allocations: 4 kB / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.3903, allocations: 15.86 kB / 0.7688 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.3906, allocations: 95.56 kB / 0.7689 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.067e-05/0.3907, allocations: 15.88 kB / 0.7689 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.3907, allocations: 4 kB / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.89e-05/0.3907, allocations: 7.984 kB / 0.7689 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.3908, allocations: 7.938 kB / 0.7689 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.3908, allocations: 4 kB / 0.769 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.391, allocations: 143.7 kB / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.3911, allocations: 8 kB / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.3911, allocations: 7.938 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.3913, allocations: 87.41 kB / 0.7692 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3913, allocations: 0 / 0.7692 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3913, allocations: 0 / 0.7692 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3913, allocations: 0 / 0.7692 GB, free: 1.695 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003403/0.3916, allocations: 350.1 kB / 0.7695 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.3917, allocations: 12.02 kB / 0.7695 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/0.3921, allocations: 32.81 kB / 0.7696 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.3922, allocations: 160.4 kB / 0.7697 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3922, allocations: 4.375 kB / 0.7697 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.3922, allocations: 4.375 kB / 0.7697 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3924, allocations: 50.16 kB / 0.7698 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.3924, allocations: 192 / 0.7698 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3924, allocations: 3.938 kB / 0.7698 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3924, allocations: 4 kB / 0.7698 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3925, allocations: 27.95 kB / 0.7698 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.3927, allocations: 153.7 kB / 0.77 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.3928, allocations: 42.59 kB / 0.77 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.458e-05/0.3929, allocations: 16.91 kB / 0.77 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3929, allocations: 0 / 0.77 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.393, allocations: 42.5 kB / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.393, allocations: 0 / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002736/0.3932, allocations: 77.69 kB / 0.7701 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.3933, allocations: 51.41 kB / 0.7702 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/0.3934, allocations: 97.84 kB / 0.7703 GB, free: 408 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.3934, allocations: 25.7 kB / 0.7703 GB, free: 376 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/0.3934, allocations: 80.14 kB / 0.7704 GB, free: 292 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.3934, allocations: 7.906 kB / 0.7704 GB, free: 284 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.3935, allocations: 17.7 kB / 0.7704 GB, free: 260 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3936, allocations: 310.8 kB / 0.7707 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.436e-05/0.3936, allocations: 20.02 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.413e-05/0.3937, allocations: 7.984 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.3938, allocations: 40.72 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3938, allocations: 0 / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001572/0.394, allocations: 57.73 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.394, allocations: 4 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.394, allocations: 7.938 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.3941, allocations: 0 / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.3941, allocations: 7.984 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3942, allocations: 0 / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/0.3942, allocations: 11.94 kB / 0.7708 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.3942, allocations: 3.984 kB / 0.7708 GB, free: 15.77 MB / 0.545 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 (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 6.067e-05/0.3943, allocations: 113.9 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.3943, allocations: 7.906 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.3944, allocations: 11 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3944, allocations: 0 / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3944, allocations: 0 / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3944, allocations: 0 / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.825e-05/0.3945, allocations: 153.7 kB / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3945, allocations: 0 / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.442e-05/0.3946, allocations: 15.98 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3946, allocations: 0 / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3946, allocations: 7.922 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3946, allocations: 0 / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3946, allocations: 0 / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.3948, allocations: 85.11 kB / 0.7712 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.3949, allocations: 81.09 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.3949, allocations: 3.938 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.732e-05/0.3949, allocations: 4 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-06/0.3949, allocations: 0 / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.395, allocations: 7.984 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.125e-05/0.395, allocations: 83.22 kB / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.395, allocations: 0 / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001931/0.3952, allocations: 19.94 kB / 0.7714 GB, free: 15.1 MB / 0.545 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 (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.0001442/0.3954, allocations: 111.3 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.3955, allocations: 27.97 kB / 0.7715 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3955, allocations: 0 / 0.7715 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-05/0.3956, allocations: 15.98 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.3958, allocations: 8.688 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.3961, allocations: 150.7 kB / 0.7717 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.3963, allocations: 0.6767 MB / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.3964, allocations: 11.44 kB / 0.7724 GB, free: 14.04 MB / 0.545 GB Notification: Performance of SimCode: time 2.454e-06/0.3964, allocations: 0 / 0.7724 GB, free: 14.04 MB / 0.545 GB Notification: Performance of Templates: time 0.001851/0.3982, allocations: 0.7872 MB / 0.7732 GB, free: 13.26 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)