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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001024/0.001024, allocations: 88.2 kB / 16.03 MB, free: 56 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.00133/0.00133, allocations: 187.8 kB / 16.93 MB, free: 6.891 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003351, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6765, allocations: 142.4 MB / 0.9557 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001179/0.6778, allocations: 0.9872 MB / 0.9567 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004415/0.6782, allocations: 227.5 kB / 0.9569 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.174e-05/0.6782, allocations: 1.125 kB / 0.9569 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.6783, allocations: 0 / 0.9569 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.848e-05/0.6783, allocations: 0 / 0.9569 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.6786, allocations: 45.81 kB / 0.957 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.07e-05/0.6786, allocations: 17.05 kB / 0.957 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.6787, allocations: 2.25 kB / 0.957 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.6787, allocations: 4.469 kB / 0.957 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.6788, allocations: 15.42 kB / 0.957 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.6788, allocations: 1.031 kB / 0.957 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.976e-05/0.6789, allocations: 43.39 kB / 0.957 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.6789, allocations: 5.172 kB / 0.957 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.6789, allocations: 41.09 kB / 0.9571 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.459e-05/0.679, allocations: 22.86 kB / 0.9571 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6791, allocations: 4 kB / 0.9571 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6791, allocations: 0 / 0.9571 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.6791, allocations: 0 / 0.9571 GB, free: 6.496 MB / 0.7169 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.0002832/0.6794, allocations: 327.5 kB / 0.9574 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.6794, allocations: 9.156 kB / 0.9574 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.6795, allocations: 15.83 kB / 0.9574 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.667e-05/0.6796, allocations: 169.3 kB / 0.9576 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.6796, allocations: 5.531 kB / 0.9576 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.6797, allocations: 2.562 kB / 0.9576 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.6798, allocations: 50.02 kB / 0.9577 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.6798, allocations: 192 / 0.9577 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.6798, allocations: 5.188 kB / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.6798, allocations: 0 / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.6799, allocations: 12.41 kB / 0.9577 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.68, allocations: 159 kB / 0.9578 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.346e-05/0.6801, allocations: 50.81 kB / 0.9579 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.6801, allocations: 21.55 kB / 0.9579 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.6801, allocations: 1.438 kB / 0.9579 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.6802, allocations: 34.55 kB / 0.9579 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.6802, allocations: 1.562 kB / 0.9579 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.002/0.6822, allocations: 0.4933 MB / 0.9584 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.6822, allocations: 52.38 kB / 0.9585 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.737e-05/0.6822, allocations: 89.86 kB / 0.9585 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.6822, allocations: 31.17 kB / 0.9586 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.517e-05/0.6823, allocations: 80.14 kB / 0.9587 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.6823, allocations: 34.61 kB / 0.9587 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.6823, allocations: 20.12 kB / 0.9587 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.6824, allocations: 315.9 kB / 0.959 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.502e-05/0.6824, allocations: 23.06 kB / 0.959 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/0.6825, allocations: 24.8 kB / 0.9591 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.6826, allocations: 54.64 kB / 0.9591 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.6826, allocations: 1.156 kB / 0.9591 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001367/0.6827, allocations: 87.94 kB / 0.9592 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6828, allocations: 9.938 kB / 0.9592 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6828, allocations: 4 kB / 0.9592 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6828, allocations: 1.031 kB / 0.9592 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.683, allocations: 23.36 kB / 0.9592 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.683, allocations: 0 / 0.9592 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.683, allocations: 0 / 0.9592 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.6831, allocations: 0 / 0.9592 GB, free: 4.406 MB / 0.7169 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 6.18e-05/0.6831, allocations: 116.9 kB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.6831, allocations: 9.375 kB / 0.9593 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.6832, allocations: 11.97 kB / 0.9594 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.6832, allocations: 5.469 kB / 0.9594 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.6832, allocations: 9.484 kB / 0.9594 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6832, allocations: 0 / 0.9594 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.746e-05/0.6833, allocations: 180 kB / 0.9595 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.6833, allocations: 7.969 kB / 0.9596 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.6835, allocations: 12.22 kB / 0.9596 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.6835, allocations: 5.188 kB / 0.9596 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.6835, allocations: 0 / 0.9596 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6835, allocations: 1.344 kB / 0.9596 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6835, allocations: 0 / 0.9596 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.6837, allocations: 147.1 kB / 0.9597 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.6838, allocations: 85.03 kB / 0.9598 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.6838, allocations: 5.938 kB / 0.9598 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.6839, allocations: 3.938 kB / 0.9598 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.6839, allocations: 5.812 kB / 0.9598 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.6839, allocations: 1.906 kB / 0.9598 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.307e-05/0.684, allocations: 79.27 kB / 0.9599 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.684, allocations: 5.906 kB / 0.9599 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001931/0.6842, allocations: 13 kB / 0.9599 GB, free: 3.715 MB / 0.7169 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 9.81e-05/0.6843, allocations: 104.8 kB / 0.96 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.6844, allocations: 64.84 kB / 0.9601 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6844, allocations: 0 / 0.9601 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.939e-05/0.6845, allocations: 30.64 kB / 0.9601 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.6847, allocations: 7.906 kB / 0.9601 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.6852, allocations: 232.7 kB / 0.9603 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.6853, allocations: 0.6802 MB / 0.961 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.6853, allocations: 11.81 kB / 0.961 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.6853, allocations: 0 / 0.961 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of Templates: time 0.002059/0.6874, allocations: 0.8783 MB / 0.9619 GB, free: 2.203 MB / 0.7169 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)