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.001446/0.001446, allocations: 100.1 kB / 15.88 MB, free: 12 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.001681/0.001681, allocations: 199.9 kB / 16.79 MB, free: 6.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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.605 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.432/2.432, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6915, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002206/0.6938, allocations: 1.317 MB / 0.9509 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004886/0.6943, allocations: 240 kB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.275e-05/0.6943, allocations: 0 / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.6943, allocations: 1.188 kB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.512e-05/0.6944, allocations: 0 / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.6946, allocations: 42.17 kB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.855e-05/0.6947, allocations: 16.45 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.6947, allocations: 2.25 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.446e-05/0.6948, allocations: 8.422 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.6948, allocations: 10.78 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.6948, allocations: 1.25 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.695, allocations: 44.52 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.695, allocations: 0 / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.695, allocations: 19.66 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.697e-05/0.6951, allocations: 30.3 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6951, allocations: 0 / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6951, allocations: 1.312 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.6951, allocations: 0 / 0.9513 GB, free: 7.848 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.0003275/0.6955, allocations: 334.2 kB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.6955, allocations: 8.906 kB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.6956, allocations: 15.56 kB / 0.9516 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.235e-05/0.6957, allocations: 169.4 kB / 0.9518 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.6957, allocations: 5.688 kB / 0.9518 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.6958, allocations: 1.688 kB / 0.9518 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.6959, allocations: 43.09 kB / 0.9518 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.6959, allocations: 192 / 0.9518 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.6959, allocations: 9.281 kB / 0.9518 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.6959, allocations: 0 / 0.9518 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.955e-05/0.696, allocations: 19.89 kB / 0.9519 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.6961, allocations: 154.7 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.204e-05/0.6962, allocations: 42.98 kB / 0.952 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.6963, allocations: 25.59 kB / 0.9521 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.6963, allocations: 1.469 kB / 0.9521 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.6963, allocations: 30.56 kB / 0.9521 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.6963, allocations: 1.719 kB / 0.9521 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.002153/0.6985, allocations: 0.5001 MB / 0.9526 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.6985, allocations: 56.75 kB / 0.9526 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.888e-05/0.6985, allocations: 89.86 kB / 0.9527 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.6986, allocations: 31.02 kB / 0.9528 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.303e-05/0.6986, allocations: 84.14 kB / 0.9528 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.6986, allocations: 26.38 kB / 0.9529 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.6987, allocations: 27.33 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.6987, allocations: 316.1 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.6988, allocations: 24.42 kB / 0.9532 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.375e-05/0.6988, allocations: 18.88 kB / 0.9532 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.6989, allocations: 60.62 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.6989, allocations: 0 / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001387/0.6991, allocations: 96.12 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6991, allocations: 10.72 kB / 0.9534 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.6991, allocations: 0 / 0.9534 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.6991, allocations: 0 / 0.9534 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.6993, allocations: 16.66 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6993, allocations: 0 / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.6994, allocations: 6.109 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.6994, allocations: 1.969 kB / 0.9534 GB, free: 5.746 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 5.526e-05/0.6995, allocations: 110.9 kB / 0.9535 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.6995, allocations: 10.5 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/0.6995, allocations: 19.97 kB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6995, allocations: 1.062 kB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.6995, allocations: 1.281 kB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6996, allocations: 0 / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.857e-05/0.6997, allocations: 180.8 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6997, allocations: 288 / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.6998, allocations: 11.44 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.6998, allocations: 9.266 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.6998, allocations: 7.938 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6998, allocations: 1.094 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6998, allocations: 4 kB / 0.9538 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.7001, allocations: 142.9 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.7001, allocations: 82.11 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.7001, allocations: 1.25 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.7003, allocations: 2.812 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.7003, allocations: 11.11 kB / 0.954 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.7003, allocations: 5.438 kB / 0.954 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.395e-05/0.7003, allocations: 80.69 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7003, allocations: 0 / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001962/0.7005, allocations: 9.719 kB / 0.9541 GB, free: 5.066 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 0.0001049/0.7007, allocations: 100.6 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.7008, allocations: 65.38 kB / 0.9542 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7008, allocations: 0 / 0.9542 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.299e-05/0.7009, allocations: 34.47 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.7011, allocations: 12.48 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.7017, allocations: 226.4 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.7018, allocations: 0.6796 MB / 0.9552 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.7018, allocations: 11.59 kB / 0.9552 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.7018, allocations: 0 / 0.9552 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of Templates: time 0.002121/0.704, allocations: 0.8783 MB / 0.956 GB, free: 3.559 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)