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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00121/0.00121, allocations: 103.1 kB / 16.27 MB, free: 5.977 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.001256/0.001256, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437 MB / 0.711 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 75.56 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3033, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002691/0.306, allocations: 1.252 MB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005662/0.3066, allocations: 231.3 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.3067, allocations: 0 / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.3067, allocations: 0 / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.561e-05/0.3068, allocations: 11.92 kB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.3071, allocations: 35.83 kB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.3072, allocations: 27.86 kB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.3072, allocations: 0 / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.453e-05/0.3073, allocations: 4 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.722e-05/0.3074, allocations: 11.98 kB / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3074, allocations: 4 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3075, allocations: 47.95 kB / 1.02 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.3075, allocations: 11.92 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.3076, allocations: 4 kB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.3077, allocations: 39.89 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3077, allocations: 0 / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3077, allocations: 0 / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3077, allocations: 0 / 1.02 GB, free: 8.992 MB / 0.795 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.0004506/0.3082, allocations: 347.7 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3082, allocations: 8.922 kB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.3084, allocations: 16.86 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3085, allocations: 164.4 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.3085, allocations: 4.375 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.3086, allocations: 4.375 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3087, allocations: 42.25 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3087, allocations: 4.125 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3087, allocations: 11.92 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3088, allocations: 0 / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.3088, allocations: 11.98 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.309, allocations: 157.7 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.494e-05/0.3091, allocations: 42.64 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.3091, allocations: 24.97 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.3092, allocations: 0 / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.3092, allocations: 34.56 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.3092, allocations: 0 / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.002146/0.3114, allocations: 0.498 MB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3114, allocations: 51.41 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.183e-05/0.3115, allocations: 89.86 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3115, allocations: 25.7 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.3115, allocations: 84.14 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.3116, allocations: 31.55 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.3117, allocations: 25.7 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3118, allocations: 314.8 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/0.3118, allocations: 23.98 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.962e-05/0.3119, allocations: 23.94 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.312, allocations: 61.22 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.312, allocations: 4.188 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001593/0.3122, allocations: 89.62 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3122, allocations: 15.88 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3122, allocations: 8 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3122, allocations: 0 / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.3124, allocations: 15.98 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3124, allocations: 0 / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.542e-05/0.3125, allocations: 0 / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3125, allocations: 4 kB / 1.022 GB, free: 6.516 MB / 0.795 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.492e-05/0.3126, allocations: 112.2 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.3126, allocations: 11.84 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.3127, allocations: 15.97 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3127, allocations: 0 / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3127, allocations: 0 / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3127, allocations: 0 / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.3129, allocations: 183.5 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3129, allocations: 0 / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.313, allocations: 19.92 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.313, allocations: 3.938 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.3131, allocations: 0 / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3131, allocations: 80 / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3131, allocations: 3.984 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.3133, allocations: 149.1 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.3134, allocations: 88.98 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.3134, allocations: 0 / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3135, allocations: 7.984 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.3136, allocations: 4 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.3136, allocations: 0 / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.3136, allocations: 79.34 kB / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3136, allocations: 0 / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002027/0.3138, allocations: 16 kB / 1.022 GB, free: 5.738 MB / 0.795 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.0001401/0.314, allocations: 103.2 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.3141, allocations: 67.91 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3141, allocations: 288 / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.568e-05/0.3142, allocations: 35.92 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.3144, allocations: 11.88 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.315, allocations: 195.5 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.3153, allocations: 0.6807 MB / 1.023 GB, free: 4.586 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.3154, allocations: 11.44 kB / 1.023 GB, free: 4.578 MB / 0.795 GB Notification: Performance of SimCode: time 6.41e-07/0.3154, allocations: 0 / 1.023 GB, free: 4.578 MB / 0.795 GB Notification: Performance of Templates: time 0.002284/0.3177, allocations: 0.8851 MB / 1.024 GB, free: 3.699 MB / 0.795 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)