Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 92.7 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.00148/0.00148, allocations: 178 kB / 16.92 MB, free: 6.652 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.449/1.449, allocations: 223.3 MB / 241 MB, free: 5.297 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.736/2.736, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003918, allocations: 8 kB / 0.8735 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7232/0.7236, allocations: 153.8 MB / 1.024 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001457/0.7251, allocations: 0.984 MB / 1.025 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005644/0.7257, allocations: 239.3 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.7257, allocations: 3.938 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.7258, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.173e-05/0.7258, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.7261, allocations: 27.89 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.764e-05/0.7262, allocations: 19.94 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.7262, allocations: 3.984 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.459e-05/0.7262, allocations: 7.938 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.256e-05/0.7263, allocations: 15.97 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.7263, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.7265, allocations: 47.97 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.7265, allocations: 7.984 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.7265, allocations: 33.64 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.172e-05/0.7266, allocations: 27.95 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7267, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7267, allocations: 3.938 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.7267, allocations: 0 / 1.025 GB, free: 14.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004018/0.7271, allocations: 341.5 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.7271, allocations: 8.031 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.7273, allocations: 8.938 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.7274, allocations: 172.3 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.7274, allocations: 4.312 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.7275, allocations: 4.375 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.7276, allocations: 46.25 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.7276, allocations: 192 / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.7276, allocations: 7.938 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.7276, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.349e-05/0.7277, allocations: 15.98 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.7279, allocations: 161.6 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.428e-05/0.728, allocations: 38.58 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.728, allocations: 28.97 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.7281, allocations: 0 / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.7281, allocations: 34.56 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.7281, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.002135/0.7302, allocations: 0.4903 MB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.7303, allocations: 55.41 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.138e-05/0.7303, allocations: 89.86 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.7304, allocations: 25.7 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.7304, allocations: 80.14 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.7304, allocations: 31.55 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.7305, allocations: 17.7 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7306, allocations: 314.8 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.7307, allocations: 23.98 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.902e-05/0.7307, allocations: 27.94 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.7308, allocations: 64.97 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7308, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001473/0.731, allocations: 89.62 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.731, allocations: 7.938 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.731, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.731, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.7312, allocations: 16 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.7312, allocations: 4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.7313, allocations: 4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.7313, allocations: 0 / 1.027 GB, free: 11.93 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 (9): * Single equations (assignments): 9 * 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.0001105/0.7314, allocations: 118.4 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.7314, allocations: 11.78 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.7315, allocations: 11.97 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.7315, allocations: 4 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7315, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.7315, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.7317, allocations: 175.5 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7317, allocations: 3.938 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.7318, allocations: 16.44 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.7318, allocations: 3.938 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.7319, allocations: 7.984 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.7319, allocations: 4 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.7319, allocations: 0 / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.7321, allocations: 149 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.7322, allocations: 81.05 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.7322, allocations: 4.031 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.7323, allocations: 12.06 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.7323, allocations: 3.984 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.7323, allocations: 4 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.5e-05/0.7324, allocations: 75.28 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7324, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001943/0.7326, allocations: 12 kB / 1.028 GB, free: 11.14 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 (8): * Single equations (assignments): 8 * 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.000124/0.7327, allocations: 103.2 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.7329, allocations: 71.94 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7329, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.01e-05/0.733, allocations: 28 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.7332, allocations: 14.42 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.7337, allocations: 218.3 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.734, allocations: 0.6809 MB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.734, allocations: 11.44 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of SimCode: time 2.605e-06/0.7341, allocations: 3.938 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of Templates: time 0.002409/0.7365, allocations: 0.8815 MB / 1.03 GB, free: 9.082 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)