Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001177/0.001177, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001188/0.001188, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 66.52 kB / 0.9115 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3528, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002231/0.3551, allocations: 0.6619 MB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003653/0.3555, allocations: 75.84 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.3555, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.3556, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.3557, allocations: 15.86 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.356, allocations: 39.95 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.261e-05/0.3561, allocations: 19.98 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.3562, allocations: 7.984 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.3562, allocations: 15.98 kB / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.3564, allocations: 79.86 kB / 1.069 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.3564, allocations: 0 / 1.069 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3565, allocations: 43.89 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.3566, allocations: 19.94 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.3567, allocations: 23.84 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.3568, allocations: 63.8 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3568, allocations: 0 / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3568, allocations: 0 / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3568, allocations: 0 / 1.069 GB, free: 9.762 MB / 0.8262 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.0003995/0.3572, allocations: 367.7 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3573, allocations: 8.031 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.3573, allocations: 4.938 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.735e-05/0.3574, allocations: 164.3 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.3575, allocations: 8.359 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3575, allocations: 384 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.3577, allocations: 183.5 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3578, allocations: 3.938 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.3578, allocations: 4 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/0.3578, allocations: 23.97 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.824e-05/0.3579, allocations: 35.92 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007546/0.3587, allocations: 0.91 MB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.643e-05/0.3588, allocations: 169.1 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/0.3588, allocations: 80.14 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.3589, allocations: 79.28 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.226e-05/0.3589, allocations: 117.8 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3589, allocations: 0 / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001004/0.359, allocations: 39.77 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/0.3592, allocations: 387.7 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3594, allocations: 161.7 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.3594, allocations: 29.7 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.3595, allocations: 155.1 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.3595, allocations: 4 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.832e-05/0.3596, allocations: 57.55 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3597, allocations: 326.8 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.3598, allocations: 23.98 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.36, allocations: 227.8 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.3602, allocations: 201.7 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3602, allocations: 4 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003115/0.3605, allocations: 189.7 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3605, allocations: 12.09 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.3606, allocations: 4 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.3606, allocations: 11.94 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3607, allocations: 39.92 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.3607, allocations: 11.94 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.383e-05/0.3608, allocations: 27.78 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.3609, allocations: 8 kB / 1.073 GB, free: 5.262 MB / 0.8262 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.000131/0.361, allocations: 209 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.3611, allocations: 116.9 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.266e-05/0.3611, allocations: 116.6 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.674e-05/0.3612, allocations: 184.1 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.746e-05/0.3613, allocations: 180.3 kB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.614e-05/0.3614, allocations: 188.2 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3616, allocations: 421.2 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.353e-05/0.3617, allocations: 101 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.3617, allocations: 112.9 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.35e-05/0.3618, allocations: 176.3 kB / 1.074 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.507e-05/0.3619, allocations: 184.2 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.729e-05/0.3619, allocations: 184.2 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.709e-05/0.362, allocations: 184.2 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.3622, allocations: 307.7 kB / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.3623, allocations: 193.9 kB / 1.075 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-05/0.3623, allocations: 176.3 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.3625, allocations: 117.1 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.3625, allocations: 184.3 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.3626, allocations: 105 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.724e-05/0.3627, allocations: 116.7 kB / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.453e-06/0.3627, allocations: 0 / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003229/0.363, allocations: 31.94 kB / 1.076 GB, free: 1.523 MB / 0.8262 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.0002128/0.3632, allocations: 186.5 kB / 1.076 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.3634, allocations: 75.78 kB / 1.076 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.3634, allocations: 4 kB / 1.076 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.3634, allocations: 0 / 1.076 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.3638, allocations: 482.5 kB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.3641, allocations: 248.7 kB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.3644, allocations: 0.689 MB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002289/0.3647, allocations: 56.58 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.3647, allocations: 15.53 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3647, allocations: 3.938 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of Templates: time 0.004582/0.3693, allocations: 1.796 MB / 1.08 GB, free: 13.96 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)