Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002319/0.002319, allocations: 177.7 kB / 16.92 MB, free: 6.648 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.458/1.458, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.788/2.788, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003752, allocations: 11.98 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.7865, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001491/0.788, allocations: 1.019 MB / 1.025 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.7892, allocations: 0.6358 MB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.586e-05/0.7893, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.7893, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.505e-05/0.7893, allocations: 7.938 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.7898, allocations: 87.62 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.657e-05/0.7899, allocations: 31.86 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.7899, allocations: 4 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.652e-05/0.79, allocations: 11.98 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.79, allocations: 7.938 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.7901, allocations: 4 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.7904, allocations: 155.7 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.7904, allocations: 4 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.7904, allocations: 37.64 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.7906, allocations: 61.89 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7906, allocations: 4 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7906, allocations: 4 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.7906, allocations: 0 / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000457/0.7911, allocations: 347.4 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.7911, allocations: 8.031 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.7916, allocations: 32.89 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.7917, allocations: 176.3 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.7917, allocations: 4.312 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.7918, allocations: 384 / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.792, allocations: 54.22 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.792, allocations: 192 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.792, allocations: 7.938 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.792, allocations: 4 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.7922, allocations: 31.91 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.7924, allocations: 161.7 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.7927, allocations: 66.53 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.7928, allocations: 28.94 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.7928, allocations: 0 / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.7929, allocations: 30.56 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 3.095e-06/0.7929, allocations: 3.938 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.003478/0.7963, allocations: 0.5762 MB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.7964, allocations: 55.39 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/0.7965, allocations: 93.86 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.7965, allocations: 25.7 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.7965, allocations: 80.14 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.7966, allocations: 23.73 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.7966, allocations: 17.83 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7968, allocations: 318.8 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.7969, allocations: 31.97 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.797, allocations: 43.95 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.7973, allocations: 84.81 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.7973, allocations: 0 / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003613/0.7977, allocations: 125.5 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.7977, allocations: 7.938 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.7977, allocations: 0 / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.7978, allocations: 4.062 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.798, allocations: 27.97 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.798, allocations: 3.938 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.7982, allocations: 7.984 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.7982, allocations: 7.984 kB / 1.028 GB, free: 11.09 MB / 0.7794 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 (7): * Single equations (assignments): 7 * 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 0.0001005/0.7983, allocations: 114.4 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.7983, allocations: 7.938 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.485e-05/0.7984, allocations: 11.97 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.7984, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7984, allocations: 3.938 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.7984, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.7986, allocations: 199.5 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7986, allocations: 4 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.7988, allocations: 23.97 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.7989, allocations: 3.938 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.7989, allocations: 3.984 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7989, allocations: 0 / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.7989, allocations: 4 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.7994, allocations: 189 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.7995, allocations: 84.95 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.7995, allocations: 3.984 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.7997, allocations: 8.031 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.7998, allocations: 15.98 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.7998, allocations: 4 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.735e-05/0.7998, allocations: 83.27 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7998, allocations: 0 / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002688/0.8001, allocations: 28 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002233/0.8003, allocations: 119.2 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.8007, allocations: 88.02 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.8007, allocations: 4 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.8009, allocations: 51.89 kB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.8011, allocations: 13.25 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/0.8018, allocations: 200.7 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.802, allocations: 0.677 MB / 1.03 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/0.8021, allocations: 23.41 kB / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.8021, allocations: 0 / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of Templates: time 0.003813/0.8059, allocations: 1.57 MB / 1.032 GB, free: 7.426 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)