Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007126/0.007126, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001606/0.001606, allocations: 195.7 kB / 16.79 MB, free: 5.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.419/1.419, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 437 MB / 0.7106 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 75.88 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.7351, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002496/0.7377, allocations: 1.346 MB / 1.019 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.7388, allocations: 0.6552 MB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.563e-05/0.7388, allocations: 4 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.7389, allocations: 0 / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/0.7389, allocations: 7.922 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.7393, allocations: 95.62 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.563e-05/0.7394, allocations: 19.94 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.7394, allocations: 3.984 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.7394, allocations: 4 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.7395, allocations: 15.92 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.7395, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.7398, allocations: 151.7 kB / 1.02 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.7398, allocations: 8 kB / 1.02 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.7398, allocations: 19.91 kB / 1.02 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.74, allocations: 61.91 kB / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.74, allocations: 0 / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.385e-06/0.74, allocations: 3.984 kB / 1.02 GB, free: 372 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.74, allocations: 0 / 1.02 GB, free: 372 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004756/0.7405, allocations: 352.8 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.7405, allocations: 15.97 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004279/0.741, allocations: 28.91 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.7411, allocations: 164.3 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.7411, allocations: 4.375 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.7412, allocations: 4.375 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.7414, allocations: 62.14 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.7414, allocations: 192 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.7414, allocations: 3.938 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7414, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.7415, allocations: 31.97 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.7418, allocations: 157.6 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.7421, allocations: 74.45 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.7422, allocations: 28.94 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.7422, allocations: 4 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.7423, allocations: 30.56 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/0.7423, allocations: 3.984 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.003457/0.7457, allocations: 0.5681 MB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.7458, allocations: 55.41 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.7459, allocations: 93.86 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.7459, allocations: 29.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.7459, allocations: 88.25 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.746, allocations: 23.64 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.746, allocations: 25.7 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.7462, allocations: 314.8 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.7463, allocations: 39.97 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.7464, allocations: 43.91 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.7467, allocations: 76.97 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.7467, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003477/0.7471, allocations: 125.6 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.7471, allocations: 7.938 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.7471, allocations: 3.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.7471, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.7474, allocations: 19.97 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.7474, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.7475, allocations: 7.984 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.7476, allocations: 11.94 kB / 1.022 GB, free: 13.62 MB / 0.7794 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 (7): * Single equations (assignments): 7 * 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 9.144e-05/0.7477, allocations: 114.4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.7477, allocations: 3.938 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.3e-05/0.7478, allocations: 15.89 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7478, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.7478, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-06/0.7478, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.7479, allocations: 199.6 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.748, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.7482, allocations: 19.97 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.7482, allocations: 7.875 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.7482, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7482, allocations: 3.984 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7482, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.7488, allocations: 192.9 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.7488, allocations: 85.08 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.7488, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.749, allocations: 20.05 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.7491, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.7491, allocations: 7.984 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.7491, allocations: 75.28 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7491, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002372/0.7494, allocations: 28 kB / 1.023 GB, free: 12.75 MB / 0.7794 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 (6): * Single equations (assignments): 6 * 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.0002166/0.7496, allocations: 135.3 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.7499, allocations: 87.86 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7499, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.7501, allocations: 43.97 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.7503, allocations: 15.92 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.751, allocations: 189.7 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.7512, allocations: 0.6848 MB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.7513, allocations: 23.41 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.7513, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.003025/0.7544, allocations: 1.571 MB / 1.025 GB, free: 9.949 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)