Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_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_latest_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.001006/0.001006, allocations: 92.16 kB / 16.02 MB, free: 76 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.001275/0.001275, allocations: 182.8 kB / 16.92 MB, free: 6.926 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.485/1.485, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.867/2.867, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 8.281 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.303, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001434/0.3045, allocations: 0.9822 MB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005662/0.3051, allocations: 251.2 kB / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.385e-05/0.3052, allocations: 0 / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.3052, allocations: 0 / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.914e-05/0.3052, allocations: 0 / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.3055, allocations: 27.89 kB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.066e-05/0.3056, allocations: 19.94 kB / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.3057, allocations: 7.938 kB / 1.061 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.824e-05/0.3057, allocations: 11.97 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.3058, allocations: 8 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.3058, allocations: 0 / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3059, allocations: 47.95 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.3059, allocations: 0 / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.306, allocations: 41.62 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.989e-05/0.3061, allocations: 23.97 kB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3061, allocations: 0 / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3061, allocations: 0 / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.3061, allocations: 0 / 1.061 GB, free: 3.508 MB / 0.8106 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.000378/0.3065, allocations: 343.7 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3065, allocations: 11.97 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.3067, allocations: 12.92 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.48e-05/0.3068, allocations: 160.4 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3068, allocations: 12.3 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.3068, allocations: 4.375 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.307, allocations: 46.25 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.307, allocations: 8.125 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.307, allocations: 3.938 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.307, allocations: 0 / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.841e-05/0.3071, allocations: 12 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.3072, allocations: 153.7 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.546e-05/0.3073, allocations: 50.56 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.3074, allocations: 24.97 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.3074, allocations: 4 kB / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3074, allocations: 30.56 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3074, allocations: 0 / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.002085/0.3095, allocations: 0.4941 MB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.3096, allocations: 51.41 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.812e-05/0.3096, allocations: 89.86 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3096, allocations: 29.7 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.443e-05/0.3097, allocations: 84.14 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.3097, allocations: 31.53 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.3097, allocations: 13.72 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3099, allocations: 326.8 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.3099, allocations: 20 kB / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.196e-05/0.3099, allocations: 27.92 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.3101, allocations: 56.86 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3101, allocations: 0 / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00015/0.3102, allocations: 93.62 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3102, allocations: 7.938 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3103, allocations: 3.984 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3103, allocations: 0 / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3104, allocations: 12 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3104, allocations: 4 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/0.3105, allocations: 4 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3105, allocations: 0 / 1.063 GB, free: 1.043 MB / 0.8106 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 8.17e-05/0.3106, allocations: 117.8 kB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.3106, allocations: 7.844 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.3107, allocations: 15.95 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.3107, allocations: 0 / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3107, allocations: 4 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3107, allocations: 3.938 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.3108, allocations: 179.4 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3109, allocations: 0 / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.311, allocations: 12.72 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.311, allocations: 3.938 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.311, allocations: 0 / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.311, allocations: 11.94 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.311, allocations: 0 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.3113, allocations: 145 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.3113, allocations: 96.98 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3113, allocations: 4 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3115, allocations: 4.031 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.3115, allocations: 7.984 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.3115, allocations: 4 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.429e-05/0.3115, allocations: 75.28 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of sort global known variables: time 5.41e-07/0.3115, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000201/0.3117, allocations: 12 kB / 1.064 GB, free: 264 kB / 0.8106 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.0001223/0.3119, allocations: 103.2 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.312, allocations: 63.92 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.312, allocations: 0 / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.024e-05/0.3121, allocations: 27.98 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.3123, allocations: 9.422 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.3128, allocations: 224.1 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.3131, allocations: 0.6848 MB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.3131, allocations: 19.38 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3131, allocations: 0 / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of Templates: time 0.002227/0.3154, allocations: 0.8703 MB / 1.065 GB, free: 14.2 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)