Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009697/0.0009698, allocations: 191.2 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 251.6 MB / 0.5088 GB, free: 3.336 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.92 kB / 0.6216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3719, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001597/0.3735, allocations: 0.6636 MB / 0.7245 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002745/0.3738, allocations: 79.84 kB / 0.7245 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.669e-05/0.3738, allocations: 4 kB / 0.7245 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.3738, allocations: 0 / 0.7245 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.529e-05/0.3739, allocations: 7.938 kB / 0.7246 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.3741, allocations: 35.95 kB / 0.7246 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.868e-05/0.3741, allocations: 23.97 kB / 0.7246 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.973e-05/0.3742, allocations: 4 kB / 0.7246 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.824e-05/0.3742, allocations: 11.98 kB / 0.7246 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.3744, allocations: 71.86 kB / 0.7247 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.3744, allocations: 4 kB / 0.7247 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.3745, allocations: 43.89 kB / 0.7247 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.3745, allocations: 19.92 kB / 0.7248 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.3746, allocations: 19.86 kB / 0.7248 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.3747, allocations: 67.73 kB / 0.7248 GB, free: 12.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3747, allocations: 0 / 0.7248 GB, free: 12.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.41e-07/0.3747, allocations: 0 / 0.7248 GB, free: 12.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.545e-06/0.3747, allocations: 0 / 0.7248 GB, free: 12.07 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002772/0.375, allocations: 365.5 kB / 0.7252 GB, free: 11.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.375, allocations: 8.031 kB / 0.7252 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.375, allocations: 8.844 kB / 0.7252 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.173e-05/0.3751, allocations: 176.3 kB / 0.7254 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.3751, allocations: 4.359 kB / 0.7254 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.3752, allocations: 4.375 kB / 0.7254 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.3753, allocations: 175.4 kB / 0.7256 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3754, allocations: 4 kB / 0.7256 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3754, allocations: 4 kB / 0.7256 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/0.3754, allocations: 23.97 kB / 0.7256 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.474e-05/0.3755, allocations: 39.89 kB / 0.7256 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.376, allocations: 0.91 MB / 0.7265 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.873e-05/0.3761, allocations: 165.1 kB / 0.7267 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.3761, allocations: 88.08 kB / 0.7267 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.3761, allocations: 75.28 kB / 0.7268 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.3762, allocations: 113.8 kB / 0.7269 GB, free: 9.727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.3762, allocations: 0 / 0.7269 GB, free: 9.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.359e-05/0.3762, allocations: 44.45 kB / 0.727 GB, free: 9.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.3764, allocations: 383.7 kB / 0.7273 GB, free: 9.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3765, allocations: 163.8 kB / 0.7275 GB, free: 9.062 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.3765, allocations: 29.7 kB / 0.7275 GB, free: 9.027 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.3766, allocations: 147.1 kB / 0.7277 GB, free: 8.879 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-06/0.3766, allocations: 8 kB / 0.7277 GB, free: 8.871 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.3766, allocations: 53.64 kB / 0.7277 GB, free: 8.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.282e-05/0.3767, allocations: 330.7 kB / 0.728 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.538e-05/0.3768, allocations: 23.98 kB / 0.7281 GB, free: 8.457 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3769, allocations: 218 kB / 0.7283 GB, free: 8.152 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3771, allocations: 205.7 kB / 0.7285 GB, free: 7.887 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3771, allocations: 4 kB / 0.7285 GB, free: 7.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002494/0.3773, allocations: 189.1 kB / 0.7286 GB, free: 7.691 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3774, allocations: 8 kB / 0.7287 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3774, allocations: 4.656 kB / 0.7287 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3774, allocations: 15.94 kB / 0.7287 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3775, allocations: 43.92 kB / 0.7287 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3775, allocations: 11.92 kB / 0.7287 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/0.3776, allocations: 23.75 kB / 0.7288 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.3776, allocations: 12.09 kB / 0.7288 GB, free: 7.574 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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.683e-05/0.3777, allocations: 216.9 kB / 0.729 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.3778, allocations: 108.9 kB / 0.7291 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.3778, allocations: 124.8 kB / 0.7292 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.4e-05/0.3779, allocations: 184.2 kB / 0.7294 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.64e-05/0.3779, allocations: 176.3 kB / 0.7295 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.826e-05/0.378, allocations: 180.2 kB / 0.7297 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.3782, allocations: 421.2 kB / 0.7301 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-05/0.3782, allocations: 108.9 kB / 0.7302 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.3782, allocations: 105 kB / 0.7303 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.868e-05/0.3783, allocations: 184.3 kB / 0.7305 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.3783, allocations: 180.2 kB / 0.7307 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.686e-05/0.3784, allocations: 188.2 kB / 0.7308 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-05/0.3784, allocations: 180.2 kB / 0.731 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.3786, allocations: 315.7 kB / 0.7313 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.3786, allocations: 186.1 kB / 0.7315 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/0.3787, allocations: 180.3 kB / 0.7317 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.3788, allocations: 116.9 kB / 0.7318 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.3788, allocations: 176.3 kB / 0.7319 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.3789, allocations: 108.9 kB / 0.732 GB, free: 3.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.503e-05/0.3789, allocations: 119.2 kB / 0.7322 GB, free: 3.863 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3789, allocations: 0 / 0.7322 GB, free: 3.863 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002726/0.3792, allocations: 24 kB / 0.7322 GB, free: 3.84 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.000151/0.3794, allocations: 186.5 kB / 0.7324 GB, free: 3.648 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.3795, allocations: 76.16 kB / 0.7324 GB, free: 3.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3795, allocations: 0 / 0.7324 GB, free: 3.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.3795, allocations: 0 / 0.7324 GB, free: 3.574 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.3798, allocations: 0.5349 MB / 0.733 GB, free: 3.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.3801, allocations: 250.8 kB / 0.7332 GB, free: 2.766 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.3803, allocations: 0.6931 MB / 0.7339 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.3805, allocations: 60.58 kB / 0.7339 GB, free: 1.988 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.319e-05/0.3805, allocations: 15.44 kB / 0.7339 GB, free: 1.973 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.3805, allocations: 0 / 0.7339 GB, free: 1.973 MB / 0.545 GB Notification: Performance of Templates: time 0.003537/0.384, allocations: 1.739 MB / 0.7356 GB, free: 268 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)