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.001399/0.001399, allocations: 109.7 kB / 16.41 MB, free: 6.5 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.001465/0.001465, allocations: 185.6 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.477/1.477, 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.402/2.402, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 59.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193/1.194, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.003209/1.198, allocations: 1.246 MB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006478/1.198, allocations: 239.5 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/1.198, allocations: 3.938 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/1.198, allocations: 1.219 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/1.199, allocations: 0.6562 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/1.199, allocations: 48.98 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/1.199, allocations: 15.8 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.571e-05/1.199, allocations: 2.938 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.526e-05/1.199, allocations: 6.156 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/1.199, allocations: 17.64 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/1.199, allocations: 1.062 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/1.199, allocations: 43.22 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/1.199, allocations: 6.641 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/1.2, allocations: 7.828 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/1.2, allocations: 42.59 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.2, allocations: 1.25 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/1.2, allocations: 0 / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.2, allocations: 0 / 1.09 GB, free: 4.414 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.0004823/1.2, allocations: 337.3 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/1.2, allocations: 9.688 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/1.2, allocations: 11.27 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.512e-05/1.201, allocations: 165.2 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/1.201, allocations: 6.125 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/1.201, allocations: 6.562 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/1.201, allocations: 43.42 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.201, allocations: 4.172 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/1.201, allocations: 4.938 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/1.201, allocations: 5.094 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.206e-05/1.201, allocations: 13.23 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/1.201, allocations: 159.4 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/1.201, allocations: 49.36 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.469e-05/1.201, allocations: 19.73 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/1.201, allocations: 1.344 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/1.201, allocations: 36.42 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/1.201, allocations: 0 / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.002047/1.203, allocations: 0.4971 MB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/1.203, allocations: 52.78 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.174e-05/1.203, allocations: 90.66 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/1.203, allocations: 31.05 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.632e-05/1.203, allocations: 80.14 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/1.204, allocations: 24.91 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/1.204, allocations: 21.25 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.875e-05/1.204, allocations: 313.3 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.963e-05/1.204, allocations: 33.78 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/1.204, allocations: 27.47 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/1.204, allocations: 55.22 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.204, allocations: 0.8438 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001453/1.204, allocations: 92.77 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.204, allocations: 9.422 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.204, allocations: 0 / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/1.204, allocations: 1.094 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/1.204, allocations: 14.61 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.204, allocations: 0 / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/1.204, allocations: 9.656 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/1.204, allocations: 1.625 kB / 1.092 GB, free: 2.418 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 6.099e-05/1.204, allocations: 116.8 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/1.204, allocations: 6.156 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/1.204, allocations: 12.77 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.204, allocations: 1.656 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.204, allocations: 0 / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.204, allocations: 1.953 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/1.205, allocations: 176 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.205, allocations: 4.562 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/1.205, allocations: 17.44 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/1.205, allocations: 8.672 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/1.205, allocations: 0.9062 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/1.205, allocations: 1.578 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.205, allocations: 3.938 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/1.205, allocations: 150.5 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/1.205, allocations: 87.72 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.205, allocations: 4.781 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/1.205, allocations: 9.375 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/1.205, allocations: 4.453 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/1.205, allocations: 3.016 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.457e-05/1.205, allocations: 75.28 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/1.205, allocations: 0 / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001975/1.206, allocations: 13.78 kB / 1.093 GB, free: 1.754 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.000117/1.206, allocations: 101.7 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001779/1.206, allocations: 67.7 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.206, allocations: 0 / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.38e-05/1.206, allocations: 28.83 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/1.206, allocations: 11.52 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000557/1.207, allocations: 199 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/1.207, allocations: 0.6836 MB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/1.207, allocations: 10.97 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/1.207, allocations: 0 / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of Templates: time 0.002948/1.21, allocations: 0.8949 MB / 1.095 GB, free: 0.7109 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)