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: 90.67 kB / 15.36 MB, free: 0.7344 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.009692/0.009692, allocations: 169.1 kB / 16.26 MB, free: 6.68 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003167, allocations: 15.97 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.347, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007738/0.3478, allocations: 342.8 kB / 1.074 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003444/0.3481, allocations: 75.78 kB / 1.075 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.062e-05/0.3482, allocations: 3.938 kB / 1.075 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.3482, allocations: 0 / 1.075 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.306e-05/0.3483, allocations: 4 kB / 1.075 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.3486, allocations: 31.95 kB / 1.075 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.835e-05/0.3487, allocations: 31.91 kB / 1.075 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.3487, allocations: 0 / 1.075 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.091e-05/0.3488, allocations: 19.98 kB / 1.075 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.349, allocations: 71.86 kB / 1.075 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.349, allocations: 0 / 1.075 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.3491, allocations: 39.95 kB / 1.075 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.3492, allocations: 19.94 kB / 1.075 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.3493, allocations: 49.55 kB / 1.075 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.3494, allocations: 63.8 kB / 1.075 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3494, allocations: 0 / 1.075 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3494, allocations: 0 / 1.075 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3494, allocations: 0 / 1.075 GB, free: 6.812 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.0003468/0.3498, allocations: 351.7 kB / 1.075 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3498, allocations: 12.03 kB / 1.075 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.3499, allocations: 4.938 kB / 1.075 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.986e-05/0.35, allocations: 168.3 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.35, allocations: 384 / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.35, allocations: 4.375 kB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.3503, allocations: 188.7 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3503, allocations: 0 / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.3503, allocations: 4 kB / 1.076 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/0.3504, allocations: 19.98 kB / 1.076 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.327e-05/0.3505, allocations: 39.84 kB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.3512, allocations: 0.91 MB / 1.077 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.31e-05/0.3513, allocations: 177.1 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.3513, allocations: 80.14 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.3513, allocations: 79.28 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.3514, allocations: 109.8 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3514, allocations: 0 / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.435e-05/0.3515, allocations: 37.55 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.3516, allocations: 395.7 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.3518, allocations: 164.5 kB / 1.077 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3518, allocations: 25.7 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.3519, allocations: 153.3 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-06/0.3519, allocations: 7.938 kB / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.352, allocations: 21.72 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3521, allocations: 322.8 kB / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.3521, allocations: 31.91 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.3523, allocations: 222.5 kB / 1.078 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.3525, allocations: 197.8 kB / 1.078 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3525, allocations: 4 kB / 1.078 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003099/0.3529, allocations: 189.7 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3529, allocations: 9.562 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3529, allocations: 8.062 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3529, allocations: 8 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.3531, allocations: 43.86 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.3531, allocations: 7.938 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-05/0.3532, allocations: 27.78 kB / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3532, allocations: 8 kB / 1.079 GB, free: 2.363 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.0001429/0.3534, allocations: 213 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.3534, allocations: 116.8 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.3535, allocations: 120.6 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.28e-05/0.3536, allocations: 184.2 kB / 1.079 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.375e-05/0.3536, allocations: 180.2 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.784e-05/0.3537, allocations: 176.3 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.3539, allocations: 429.1 kB / 1.08 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/0.354, allocations: 105 kB / 1.08 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.354, allocations: 105 kB / 1.08 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.979e-05/0.3541, allocations: 184.2 kB / 1.08 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.3541, allocations: 180.2 kB / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.015e-05/0.3542, allocations: 184.1 kB / 1.081 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.409e-05/0.3543, allocations: 184.3 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.3545, allocations: 311.7 kB / 1.081 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.98e-05/0.3546, allocations: 186 kB / 1.081 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.214e-05/0.3547, allocations: 188.2 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.223e-05/0.3548, allocations: 109.2 kB / 1.082 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.3548, allocations: 184.2 kB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.3549, allocations: 105 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.879e-05/0.355, allocations: 121.3 kB / 1.082 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.41e-07/0.355, allocations: 0 / 1.082 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003159/0.3553, allocations: 24 kB / 1.082 GB, free: 14.62 MB / 0.8419 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.0002133/0.3555, allocations: 190.5 kB / 1.082 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.3557, allocations: 83.73 kB / 1.082 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3557, allocations: 0 / 1.082 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.3557, allocations: 0 / 1.082 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.3561, allocations: 0.5508 MB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.3565, allocations: 242.6 kB / 1.083 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3567, allocations: 0.6893 MB / 1.084 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002325/0.357, allocations: 52.59 kB / 1.084 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.357, allocations: 15.44 kB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.357, allocations: 0 / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.005316/0.3623, allocations: 1.743 MB / 1.086 GB, free: 11.03 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)