Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00149/0.00149, allocations: 107.9 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.001306/0.001307, allocations: 183 kB / 17.34 MB, free: 5.766 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 60.12 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9093/0.9108, allocations: 157.4 MB / 1.208 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00269/0.9135, allocations: 1.277 MB / 1.21 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.9147, allocations: 0.6387 MB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.9148, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.9148, allocations: 3.984 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.9149, allocations: 7.922 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.9154, allocations: 103.6 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.95e-05/0.9155, allocations: 31.84 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.9156, allocations: 4 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.905e-05/0.9156, allocations: 11.94 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.232e-05/0.9157, allocations: 7.984 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.9157, allocations: 4 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.916, allocations: 147.8 kB / 1.211 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.9161, allocations: 3.938 kB / 1.211 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.9161, allocations: 11.98 kB / 1.211 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.9163, allocations: 103.5 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.9163, allocations: 4 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9163, allocations: 0 / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.9163, allocations: 0 / 1.211 GB, free: 11.46 MB / 0.9356 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.0005185/0.9169, allocations: 353.5 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.9169, allocations: 8.031 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004352/0.9174, allocations: 36.8 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.9175, allocations: 168.3 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.9175, allocations: 4.375 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.9175, allocations: 4.312 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.9177, allocations: 58.22 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.9178, allocations: 192 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.9178, allocations: 3.938 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.9178, allocations: 0 / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.9179, allocations: 39.84 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.9181, allocations: 161.7 kB / 1.212 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.9185, allocations: 62.58 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.9186, allocations: 28.94 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.9186, allocations: 7.984 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.9186, allocations: 30.56 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.9187, allocations: 0 / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.003434/0.9221, allocations: 0.5759 MB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.9222, allocations: 51.41 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.965e-05/0.9222, allocations: 101.8 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.9223, allocations: 25.7 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.9223, allocations: 80.14 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.9223, allocations: 23.66 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.9224, allocations: 29.81 kB / 1.213 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.9225, allocations: 314.8 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.9227, allocations: 31.97 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.9228, allocations: 44.03 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.9231, allocations: 80.81 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.9231, allocations: 4 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003553/0.9235, allocations: 117.6 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.9235, allocations: 15.94 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.9235, allocations: 0 / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.9235, allocations: 0 / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.9238, allocations: 23.97 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.9238, allocations: 0 / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.9239, allocations: 11.92 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.924, allocations: 240 / 1.213 GB, free: 8.727 MB / 0.9356 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.734e-05/0.9241, allocations: 121.8 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.9241, allocations: 7.844 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.9242, allocations: 12.3 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9242, allocations: 0 / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.9242, allocations: 0 / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.9242, allocations: 3.984 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.9244, allocations: 191.7 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9244, allocations: 0 / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.9246, allocations: 31.91 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.9246, allocations: 3.938 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.9247, allocations: 3.984 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9247, allocations: 0 / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9247, allocations: 0 / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.9252, allocations: 193 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.9253, allocations: 81.05 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.9253, allocations: 3.984 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.9255, allocations: 12.09 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.9255, allocations: 7.984 kB / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.9255, allocations: 0 / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.9256, allocations: 83.28 kB / 1.214 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.503e-06/0.9256, allocations: 0 / 1.214 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002573/0.9259, allocations: 35.92 kB / 1.214 GB, free: 7.848 MB / 0.9356 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.0002317/0.9261, allocations: 127.3 kB / 1.214 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.9265, allocations: 87.92 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9265, allocations: 0 / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.9266, allocations: 51.89 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.9269, allocations: 12 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.9276, allocations: 191.8 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.9278, allocations: 0.6729 MB / 1.215 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.293e-05/0.9279, allocations: 23.41 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.9279, allocations: 0 / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of Templates: time 0.003674/0.9316, allocations: 1.576 MB / 1.217 GB, free: 5.062 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)