Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00151/0.00151, allocations: 110.6 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001842, allocations: 192.2 kB / 16.91 MB, free: 6.184 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.2 MB / 0.665 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.84 kB / 0.8127 GB, free: 33.33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3121, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.003101/0.3153, allocations: 1.309 MB / 0.9511 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006256/0.3159, allocations: 241.3 kB / 0.9513 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.316, allocations: 0 / 0.9513 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.316, allocations: 0 / 0.9513 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.3161, allocations: 0 / 0.9513 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.3165, allocations: 47.81 kB / 0.9513 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.841e-05/0.3166, allocations: 11.98 kB / 0.9514 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.3166, allocations: 4 kB / 0.9514 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.121e-05/0.3167, allocations: 15.94 kB / 0.9514 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.712e-05/0.3167, allocations: 7.984 kB / 0.9514 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.3168, allocations: 0 / 0.9514 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.3169, allocations: 43.95 kB / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.3169, allocations: 11.98 kB / 0.9514 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.317, allocations: 3.938 kB / 0.9514 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.3171, allocations: 31.97 kB / 0.9515 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.3171, allocations: 3.938 kB / 0.9515 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3171, allocations: 0 / 0.9515 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3171, allocations: 0 / 0.9515 GB, free: 7.5 MB / 0.7325 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.0004739/0.3176, allocations: 339.7 kB / 0.9518 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3177, allocations: 12.03 kB / 0.9518 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.3178, allocations: 8.922 kB / 0.9518 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.841e-05/0.3179, allocations: 164.4 kB / 0.952 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.318, allocations: 384 / 0.952 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.318, allocations: 384 / 0.952 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3182, allocations: 50.25 kB / 0.952 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3182, allocations: 192 / 0.952 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3182, allocations: 7.938 kB / 0.952 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3182, allocations: 0 / 0.952 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.019e-05/0.3183, allocations: 19.92 kB / 0.952 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.3185, allocations: 153.7 kB / 0.9522 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3186, allocations: 46.62 kB / 0.9522 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.3187, allocations: 16.98 kB / 0.9523 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.3187, allocations: 4 kB / 0.9523 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3187, allocations: 34.56 kB / 0.9523 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3187, allocations: 3.938 kB / 0.9523 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.002233/0.3209, allocations: 0.5019 MB / 0.9528 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.321, allocations: 55.34 kB / 0.9528 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.608e-05/0.321, allocations: 89.86 kB / 0.9529 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3211, allocations: 29.64 kB / 0.953 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.3211, allocations: 84.14 kB / 0.953 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.3212, allocations: 27.55 kB / 0.9531 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.3212, allocations: 25.72 kB / 0.9531 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3213, allocations: 314.8 kB / 0.9534 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.92e-05/0.3214, allocations: 23.98 kB / 0.9534 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.3214, allocations: 23.98 kB / 0.9534 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.3215, allocations: 52.86 kB / 0.9535 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3216, allocations: 0 / 0.9535 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001469/0.3217, allocations: 93.62 kB / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3217, allocations: 7.938 kB / 0.9536 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3217, allocations: 0 / 0.9536 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3218, allocations: 4 kB / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3219, allocations: 19.92 kB / 0.9536 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3219, allocations: 4 kB / 0.9536 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.969e-05/0.322, allocations: 4.438 kB / 0.9536 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.322, allocations: 0 / 0.9536 GB, free: 5.039 MB / 0.7325 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.872e-05/0.3221, allocations: 113.8 kB / 0.9537 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.3222, allocations: 7.844 kB / 0.9537 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.236e-05/0.3222, allocations: 15.97 kB / 0.9537 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.3222, allocations: 0 / 0.9537 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.3222, allocations: 8.266 kB / 0.9537 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3222, allocations: 3.984 kB / 0.9538 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.3224, allocations: 183.3 kB / 0.9539 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3224, allocations: 3.938 kB / 0.9539 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.3226, allocations: 15.98 kB / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3226, allocations: 7.938 kB / 0.954 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3226, allocations: 0 / 0.954 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3226, allocations: 0 / 0.954 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3226, allocations: 0 / 0.954 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.3229, allocations: 145 kB / 0.9541 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.3229, allocations: 85.14 kB / 0.9542 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.3229, allocations: 7.984 kB / 0.9542 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.323, allocations: 8 kB / 0.9542 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.3231, allocations: 0 / 0.9542 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3231, allocations: 4 kB / 0.9542 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.83e-05/0.3231, allocations: 75.28 kB / 0.9543 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3231, allocations: 0 / 0.9543 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001954/0.3233, allocations: 12 kB / 0.9543 GB, free: 4.258 MB / 0.7325 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.000139/0.3235, allocations: 111.2 kB / 0.9544 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.3237, allocations: 67.91 kB / 0.9544 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3237, allocations: 0 / 0.9544 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.337e-05/0.3237, allocations: 35.92 kB / 0.9545 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.324, allocations: 11.73 kB / 0.9545 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/0.3246, allocations: 212.4 kB / 0.9547 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3248, allocations: 0.6807 MB / 0.9554 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.3249, allocations: 7.438 kB / 0.9554 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.3249, allocations: 4 kB / 0.9554 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of Templates: time 0.002482/0.3274, allocations: 0.8936 MB / 0.9562 GB, free: 2.191 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)