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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 111.6 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.978/2.978, allocations: 489.2 MB / 0.7687 GB, free: 3.742 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.88 kB / 1.103 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9472/0.9492, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002532/0.9518, allocations: 1.291 MB / 1.264 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.953, allocations: 0.6405 MB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.953, allocations: 3.938 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.9531, allocations: 0.6562 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.9531, allocations: 6.391 kB / 1.264 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.9537, allocations: 115.3 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.279e-05/0.9538, allocations: 24.16 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.9538, allocations: 2.234 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.745e-05/0.9538, allocations: 7.188 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.9539, allocations: 20.09 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.9539, allocations: 0.6875 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.9543, allocations: 142.6 kB / 1.265 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.9543, allocations: 2.016 kB / 1.265 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.9543, allocations: 14.25 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.9545, allocations: 98.62 kB / 1.265 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9546, allocations: 4.75 kB / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9546, allocations: 0 / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.9546, allocations: 0.875 kB / 1.265 GB, free: 6.504 MB / 0.9981 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.0004292/0.955, allocations: 355.8 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.9551, allocations: 10.34 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004143/0.9555, allocations: 34.66 kB / 1.265 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.388e-05/0.9556, allocations: 162.7 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.9556, allocations: 1.469 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.9556, allocations: 2.281 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.9558, allocations: 58.78 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.9558, allocations: 0.9375 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.9558, allocations: 7.938 kB / 1.266 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.9559, allocations: 1.453 kB / 1.266 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.956, allocations: 34.47 kB / 1.266 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.9562, allocations: 161.6 kB / 1.266 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.9565, allocations: 67 kB / 1.266 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.979e-05/0.9566, allocations: 32.62 kB / 1.266 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.9566, allocations: 2.016 kB / 1.266 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.9567, allocations: 31.98 kB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.9567, allocations: 0 / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.003311/0.96, allocations: 0.58 MB / 1.266 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.96, allocations: 53.05 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.552e-05/0.9601, allocations: 93.25 kB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.9601, allocations: 30.55 kB / 1.267 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.408e-05/0.9601, allocations: 84.98 kB / 1.267 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.9602, allocations: 20.81 kB / 1.267 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.9602, allocations: 29.72 kB / 1.267 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.9603, allocations: 318 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.9604, allocations: 34.06 kB / 1.267 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.9606, allocations: 35.06 kB / 1.267 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.9609, allocations: 86.3 kB / 1.267 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.9609, allocations: 1.031 kB / 1.267 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003698/0.9613, allocations: 124.8 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.9613, allocations: 14.48 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.9613, allocations: 240 / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.9613, allocations: 0.8125 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.9616, allocations: 22.05 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.9616, allocations: 5.203 kB / 1.267 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.9617, allocations: 9.734 kB / 1.267 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.9618, allocations: 5.25 kB / 1.267 GB, free: 4.469 MB / 0.9981 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 5.979e-05/0.9618, allocations: 119.6 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.9618, allocations: 7.188 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.9619, allocations: 9.562 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.9619, allocations: 5.375 kB / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9619, allocations: 0 / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9619, allocations: 5.375 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.9621, allocations: 181.7 kB / 1.268 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9621, allocations: 1.344 kB / 1.268 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.9623, allocations: 21.97 kB / 1.268 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9623, allocations: 4.5 kB / 1.268 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.9623, allocations: 4.156 kB / 1.268 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.9624, allocations: 0.8125 kB / 1.268 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9624, allocations: 0.5625 kB / 1.268 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.9629, allocations: 196.3 kB / 1.268 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.963, allocations: 82.66 kB / 1.268 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.963, allocations: 9.906 kB / 1.268 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.9632, allocations: 13.81 kB / 1.268 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.9632, allocations: 7.062 kB / 1.268 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.9632, allocations: 4.938 kB / 1.268 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.975e-05/0.9633, allocations: 78.25 kB / 1.268 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9633, allocations: 0 / 1.268 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002694/0.9635, allocations: 32.14 kB / 1.268 GB, free: 3.805 MB / 0.9981 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.0001912/0.9637, allocations: 134.9 kB / 1.268 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003747/0.9641, allocations: 88.14 kB / 1.268 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9641, allocations: 0 / 1.268 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.9643, allocations: 47.42 kB / 1.268 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.9645, allocations: 9.906 kB / 1.268 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.9652, allocations: 178.4 kB / 1.269 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.9653, allocations: 0.6792 MB / 1.269 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.196e-05/0.9654, allocations: 24.41 kB / 1.269 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of SimCode: time 2.01e-07/0.9654, allocations: 4 kB / 1.269 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of Templates: time 0.003934/0.9693, allocations: 1.581 MB / 1.271 GB, free: 2.695 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 11.377532355021685] Failed to read output from testmodel.py, exit status != 0: 0.9768627900630236 0.995543572 0.03732016699999994 Calling exit ...