Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.323/2.323, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001379/0.001378, allocations: 180.7 kB / 325.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.893/2.893, allocations: 205.4 MB / 0.5767 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008906/0.0008907, allocations: 91.27 kB / 0.6812 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007303/0.0007306, allocations: 11.81 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2548, allocations: 106.3 MB / 0.899 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002031/0.2569, allocations: 1.009 MB / 0.9 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.2584, allocations: 0.5445 MB / 0.9006 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.2585, allocations: 0 / 0.9006 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.2585, allocations: 0 / 0.9006 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.851e-05/0.2586, allocations: 15.92 kB / 0.9006 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.2592, allocations: 71.7 kB / 0.9006 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.377e-05/0.2593, allocations: 27.86 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.418e-05/0.2593, allocations: 0 / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.2594, allocations: 7.938 kB / 0.9007 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.2595, allocations: 7.984 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2595, allocations: 0 / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.2601, allocations: 147.7 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.2601, allocations: 0 / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.2601, allocations: 33.7 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.2604, allocations: 60.16 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2605, allocations: 0 / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.717e-06/0.2605, allocations: 4 kB / 0.9009 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.2605, allocations: 0 / 0.9009 GB, free: 63.52 MB / 0.6042 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.0004436/0.261, allocations: 347.4 kB / 0.9012 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.261, allocations: 8.031 kB / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007319/0.2618, allocations: 32.89 kB / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.624e-05/0.2619, allocations: 164.3 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2619, allocations: 384 / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.2619, allocations: 4.375 kB / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.2621, allocations: 50.22 kB / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.2622, allocations: 192 / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2622, allocations: 3.938 kB / 0.9015 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.2622, allocations: 3.984 kB / 0.9015 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.2624, allocations: 27.97 kB / 0.9015 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.2626, allocations: 161.5 kB / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.2628, allocations: 38.53 kB / 0.9017 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.2629, allocations: 24.91 kB / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.2629, allocations: 0 / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.263, allocations: 34.56 kB / 0.9018 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.522e-06/0.263, allocations: 0 / 0.9018 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004233/0.2634, allocations: 73.5 kB / 0.9018 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.2635, allocations: 59.47 kB / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.373e-05/0.2635, allocations: 101.8 kB / 0.902 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.2636, allocations: 29.64 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.803e-05/0.2636, allocations: 84.14 kB / 0.9021 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.2636, allocations: 0 / 0.9021 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.2636, allocations: 3.938 kB / 0.9021 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.2637, allocations: 310.8 kB / 0.9024 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.2638, allocations: 19.98 kB / 0.9024 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.246e-05/0.2639, allocations: 7.984 kB / 0.9024 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.264, allocations: 15.98 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.264, allocations: 0 / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002657/0.2643, allocations: 61.58 kB / 0.9025 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2643, allocations: 8.094 kB / 0.9025 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2644, allocations: 7.938 kB / 0.9025 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2644, allocations: 0 / 0.9025 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.2645, allocations: 7.984 kB / 0.9025 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2646, allocations: 3.938 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/0.2647, allocations: 4 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2647, allocations: 0 / 0.9025 GB, free: 61.64 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.308e-05/0.2648, allocations: 105.8 kB / 0.9026 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.2648, allocations: 11.98 kB / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.2648, allocations: 11.06 kB / 0.9027 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2649, allocations: 0 / 0.9027 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2649, allocations: 0 / 0.9027 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2649, allocations: 0 / 0.9027 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.414e-05/0.265, allocations: 153.7 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.265, allocations: 4 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.2651, allocations: 7.984 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2651, allocations: 0 / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2652, allocations: 7.938 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2652, allocations: 0 / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2652, allocations: 0 / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.2655, allocations: 85.09 kB / 0.9029 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.2655, allocations: 85.05 kB / 0.903 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.2656, allocations: 11.92 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.2657, allocations: 4.031 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.2657, allocations: 0 / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2657, allocations: 7.938 kB / 0.903 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.475e-05/0.2657, allocations: 75.28 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2658, allocations: 0 / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002532/0.266, allocations: 15.98 kB / 0.9031 GB, free: 60.97 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001697/0.2662, allocations: 115.2 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.2665, allocations: 31.97 kB / 0.9032 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2665, allocations: 0 / 0.9032 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.2666, allocations: 15.92 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.2668, allocations: 11.98 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.2673, allocations: 128.6 kB / 0.9034 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.2674, allocations: 0.6692 MB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001339/0.2675, allocations: 8 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.2676, allocations: 15.42 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.2676, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.003424/0.271, allocations: 0.7026 MB / 0.9048 GB, free: 59.22 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)