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.001421/0.001421, allocations: 110.6 kB / 16.41 MB, free: 6.488 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.001778/0.001778, allocations: 187 kB / 17.34 MB, free: 5.762 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.497/1.497, allocations: 222.9 MB / 241 MB, free: 15.16 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.674/2.674, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.145, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00225/1.147, allocations: 1.254 MB / 1.09 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004655/1.148, allocations: 235.2 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/1.148, allocations: 0 / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/1.148, allocations: 9.031 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.522e-05/1.148, allocations: 0 / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/1.148, allocations: 45.3 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/1.148, allocations: 20.89 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/1.148, allocations: 1.922 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.554e-05/1.148, allocations: 5.734 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/1.148, allocations: 14 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/1.148, allocations: 1.344 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/1.148, allocations: 42.69 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/1.149, allocations: 15.44 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/1.149, allocations: 3.562 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/1.149, allocations: 42.92 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.149, allocations: 0.75 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/1.149, allocations: 0 / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.911e-06/1.149, allocations: 0.7812 kB / 1.09 GB, free: 4.43 MB / 0.8575 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.0003329/1.149, allocations: 332.8 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/1.149, allocations: 9.375 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/1.149, allocations: 15.28 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.009e-05/1.149, allocations: 161.5 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/1.149, allocations: 5.438 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/1.149, allocations: 3.125 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/1.149, allocations: 47.31 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/1.149, allocations: 192 / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/1.15, allocations: 9.031 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.15, allocations: 0.7969 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.892e-05/1.15, allocations: 13.56 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/1.15, allocations: 166.9 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.603e-05/1.15, allocations: 41.56 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/1.15, allocations: 23.8 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/1.15, allocations: 0.5625 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/1.15, allocations: 40.59 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/1.15, allocations: 0.9375 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.002019/1.152, allocations: 0.5003 MB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/1.152, allocations: 56.97 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.13e-05/1.152, allocations: 94.52 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/1.152, allocations: 26.45 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.686e-05/1.152, allocations: 80.89 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/1.152, allocations: 21.3 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/1.152, allocations: 20.41 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.012e-05/1.152, allocations: 317.9 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/1.152, allocations: 21.67 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.501e-05/1.152, allocations: 26.45 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/1.152, allocations: 64.56 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/1.152, allocations: 0.8125 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001424/1.153, allocations: 96.66 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.153, allocations: 8.531 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.153, allocations: 1.938 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.153, allocations: 0 / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/1.153, allocations: 14.72 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/1.153, allocations: 3.938 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/1.153, allocations: 1.719 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/1.153, allocations: 2.125 kB / 1.092 GB, free: 2.43 MB / 0.8575 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 5.529e-05/1.153, allocations: 116.8 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/1.153, allocations: 5.625 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/1.153, allocations: 13.77 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.153, allocations: 4.969 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.153, allocations: 0 / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.153, allocations: 1.734 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.871e-05/1.153, allocations: 175.1 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.153, allocations: 1.031 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/1.153, allocations: 13.61 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.153, allocations: 9.031 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/1.153, allocations: 2.047 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.153, allocations: 4 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.153, allocations: 3.938 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/1.154, allocations: 147 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/1.154, allocations: 91 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/1.154, allocations: 1.438 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/1.154, allocations: 5.172 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/1.154, allocations: 8.422 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/1.154, allocations: 2.922 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.215e-05/1.154, allocations: 75.28 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.154, allocations: 0 / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002011/1.154, allocations: 13.91 kB / 1.093 GB, free: 1.77 MB / 0.8575 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.000104/1.154, allocations: 101.2 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001668/1.154, allocations: 64.2 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/1.154, allocations: 4 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.604e-05/1.154, allocations: 29.05 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/1.155, allocations: 14.45 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/1.155, allocations: 196.3 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/1.155, allocations: 0.6796 MB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/1.155, allocations: 10.56 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of SimCode: time 7.71e-07/1.155, allocations: 0.8125 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of Templates: time 0.002433/1.158, allocations: 0.9093 MB / 1.095 GB, free: 0.7148 MB / 0.8575 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)