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.001581/0.001581, allocations: 100.1 kB / 15.88 MB, free: 12 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.002321/0.002321, allocations: 198.3 kB / 16.79 MB, free: 6.809 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.472/1.472, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 72.39 kB / 0.8991 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3118, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002722/0.3146, allocations: 1.325 MB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005732/0.3152, allocations: 231.4 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.654e-05/0.3152, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.3153, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.062e-05/0.3153, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.3156, allocations: 43.81 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.633e-05/0.3157, allocations: 15.98 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.3157, allocations: 3.938 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.3158, allocations: 7.938 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.26e-05/0.3158, allocations: 11.98 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3159, allocations: 4 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.316, allocations: 47.89 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.316, allocations: 11.98 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.316, allocations: 7.938 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.3162, allocations: 19.97 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3162, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3162, allocations: 4 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.3162, allocations: 0 / 1.054 GB, free: 6.539 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.0004357/0.3166, allocations: 347.7 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3167, allocations: 11.97 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.3168, allocations: 12.92 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.317, allocations: 160.4 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.317, allocations: 4.359 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.317, allocations: 8.375 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3171, allocations: 46.25 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.3172, allocations: 4.125 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3172, allocations: 3.938 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3172, allocations: 0 / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.517e-05/0.3173, allocations: 15.94 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.3174, allocations: 153.7 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.3176, allocations: 42.62 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.3176, allocations: 32.97 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.3176, allocations: 0 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.3177, allocations: 30.56 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3177, allocations: 0 / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.002175/0.3198, allocations: 0.498 MB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.3199, allocations: 51.41 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.917e-05/0.3199, allocations: 89.86 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.32, allocations: 25.7 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.32, allocations: 80.14 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.3201, allocations: 31.55 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.3201, allocations: 25.72 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3202, allocations: 318.8 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.714e-05/0.3203, allocations: 20 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.396e-05/0.3203, allocations: 23.98 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.3204, allocations: 60.92 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3205, allocations: 448 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000159/0.3206, allocations: 89.69 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3206, allocations: 11.92 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3207, allocations: 8 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3207, allocations: 0 / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.3208, allocations: 19.94 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3209, allocations: 0 / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.719e-05/0.3209, allocations: 0 / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.3209, allocations: 8 kB / 1.057 GB, free: 4.066 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.692e-05/0.321, allocations: 105.8 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.3211, allocations: 15.83 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.3211, allocations: 15.97 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3211, allocations: 4 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.3211, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3212, allocations: 3.938 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.3213, allocations: 179.4 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3213, allocations: 0 / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.3215, allocations: 12 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3215, allocations: 7.875 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3215, allocations: 4 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3215, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3215, allocations: 3.984 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.3218, allocations: 149.2 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.3218, allocations: 88.98 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3219, allocations: 0 / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.322, allocations: 4 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.322, allocations: 7.984 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.322, allocations: 4.094 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.933e-05/0.3221, allocations: 79.22 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3221, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001966/0.3223, allocations: 16.06 kB / 1.057 GB, free: 3.285 MB / 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.0001452/0.3224, allocations: 107.2 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.3226, allocations: 55.97 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3226, allocations: 0 / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.074e-05/0.3227, allocations: 39.92 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.3229, allocations: 4 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.3235, allocations: 218.2 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.3238, allocations: 0.6809 MB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.3239, allocations: 11.44 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/0.3239, allocations: 0 / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of Templates: time 0.002386/0.3263, allocations: 0.8774 MB / 1.059 GB, free: 1.238 MB / 0.8106 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)