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.0007403/0.0007432, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00494/0.00494, allocations: 172 kB / 16.26 MB, free: 6.613 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.182/1.182, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.325/1.325, allocations: 252 MB / 0.5105 GB, free: 4.676 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.0004569/0.0004569, allocations: 20 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3748, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006219/0.3754, allocations: 344.5 kB / 0.7291 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.3757, allocations: 79.84 kB / 0.7291 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.3758, allocations: 0 / 0.7291 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.3758, allocations: 3.938 kB / 0.7291 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.829e-05/0.3758, allocations: 11.92 kB / 0.7291 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.3761, allocations: 35.89 kB / 0.7292 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.57e-05/0.3761, allocations: 27.92 kB / 0.7292 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.3762, allocations: 0 / 0.7292 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.237e-05/0.3762, allocations: 11.98 kB / 0.7292 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.3764, allocations: 79.86 kB / 0.7293 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.3764, allocations: 0 / 0.7293 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.3765, allocations: 35.95 kB / 0.7293 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.3765, allocations: 19.98 kB / 0.7293 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.3766, allocations: 45.52 kB / 0.7294 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.3767, allocations: 67.83 kB / 0.7295 GB, free: 10.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.3767, allocations: 3.938 kB / 0.7295 GB, free: 10.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3767, allocations: 0 / 0.7295 GB, free: 10.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.3767, allocations: 0 / 0.7295 GB, free: 10.48 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.0002657/0.377, allocations: 341.5 kB / 0.7298 GB, free: 10.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.377, allocations: 16.03 kB / 0.7298 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.3771, allocations: 8.844 kB / 0.7298 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.3772, allocations: 172.2 kB / 0.73 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.3772, allocations: 384 / 0.73 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-06/0.3772, allocations: 4.375 kB / 0.73 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.3774, allocations: 188.1 kB / 0.7302 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.3775, allocations: 0 / 0.7302 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3775, allocations: 0 / 0.7302 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.3775, allocations: 19.98 kB / 0.7302 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.049e-05/0.3776, allocations: 43.84 kB / 0.7302 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.3781, allocations: 0.91 MB / 0.7311 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.266e-05/0.3782, allocations: 169.1 kB / 0.7313 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.3783, allocations: 80.14 kB / 0.7313 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3783, allocations: 79.28 kB / 0.7314 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.3783, allocations: 113.8 kB / 0.7315 GB, free: 8.156 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3783, allocations: 0 / 0.7315 GB, free: 8.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.107e-05/0.3784, allocations: 40.45 kB / 0.7316 GB, free: 8.113 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.3786, allocations: 391.7 kB / 0.7319 GB, free: 7.656 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3787, allocations: 160.4 kB / 0.7321 GB, free: 7.492 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3787, allocations: 29.7 kB / 0.7321 GB, free: 7.457 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.3788, allocations: 151 kB / 0.7323 GB, free: 7.305 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-06/0.3788, allocations: 8 kB / 0.7323 GB, free: 7.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.3788, allocations: 21.7 kB / 0.7323 GB, free: 7.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.379, allocations: 322.8 kB / 0.7326 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.379, allocations: 27.97 kB / 0.7326 GB, free: 6.918 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.3792, allocations: 220.8 kB / 0.7328 GB, free: 6.609 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.3794, allocations: 197.9 kB / 0.733 GB, free: 6.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3794, allocations: 7.938 kB / 0.733 GB, free: 6.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002586/0.3797, allocations: 185.8 kB / 0.7332 GB, free: 6.156 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3797, allocations: 8 kB / 0.7332 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3797, allocations: 8 kB / 0.7332 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3797, allocations: 11.94 kB / 0.7332 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3799, allocations: 47.86 kB / 0.7333 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3799, allocations: 7.938 kB / 0.7333 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.38, allocations: 23.75 kB / 0.7333 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.38, allocations: 15.98 kB / 0.7333 GB, free: 6.035 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 0.0001/0.3801, allocations: 209 kB / 0.7335 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.936e-05/0.3802, allocations: 112.9 kB / 0.7336 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.3802, allocations: 124.8 kB / 0.7338 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.671e-05/0.3803, allocations: 180.2 kB / 0.7339 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.071e-05/0.3803, allocations: 180.2 kB / 0.7341 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.963e-05/0.3804, allocations: 180.2 kB / 0.7343 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.3806, allocations: 417.2 kB / 0.7347 GB, free: 4.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.888e-05/0.3806, allocations: 108.9 kB / 0.7348 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.3806, allocations: 101 kB / 0.7349 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-05/0.3807, allocations: 196.2 kB / 0.7351 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/0.3808, allocations: 176.3 kB / 0.7352 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.224e-05/0.3808, allocations: 180.2 kB / 0.7354 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-05/0.3809, allocations: 184.2 kB / 0.7356 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.381, allocations: 323.7 kB / 0.7359 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.854e-05/0.3811, allocations: 182 kB / 0.7361 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/0.3812, allocations: 184.2 kB / 0.7362 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.3813, allocations: 112.9 kB / 0.7363 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.3813, allocations: 184.2 kB / 0.7365 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.3814, allocations: 104.9 kB / 0.7366 GB, free: 2.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.787e-05/0.3815, allocations: 115.2 kB / 0.7367 GB, free: 2.328 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3815, allocations: 0 / 0.7367 GB, free: 2.328 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002741/0.3817, allocations: 24 kB / 0.7367 GB, free: 2.305 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.0001659/0.3819, allocations: 182.5 kB / 0.7369 GB, free: 2.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.382, allocations: 79.77 kB / 0.737 GB, free: 2.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3821, allocations: 0 / 0.737 GB, free: 2.039 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.3821, allocations: 0 / 0.737 GB, free: 2.039 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.3824, allocations: 0.5391 MB / 0.7375 GB, free: 1.496 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.3827, allocations: 246.5 kB / 0.7378 GB, free: 1.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.383, allocations: 0.6971 MB / 0.7384 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001939/0.3832, allocations: 52.59 kB / 0.7385 GB, free: 468 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.3832, allocations: 15.44 kB / 0.7385 GB, free: 452 kB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.3832, allocations: 0 / 0.7385 GB, free: 452 kB / 0.545 GB Notification: Performance of Templates: time 0.003728/0.3869, allocations: 1.748 MB / 0.7402 GB, free: 14.73 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: