Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.84/4.84, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002443/0.002443, allocations: 356.6 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.174/4.174, allocations: 410.7 MB / 1.112 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001769/0.001768, allocations: 187.4 kB / 1.225 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000758/0.0007583, allocations: 16 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6925/0.6933, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006004/0.6939, allocations: 337.8 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000253/0.6942, allocations: 66.98 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.6943, allocations: 0.5938 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.6943, allocations: 5.188 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.832e-05/0.6943, allocations: 7.984 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.6946, allocations: 33.23 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.024e-05/0.6946, allocations: 27.91 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.6947, allocations: 4 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.437e-05/0.6947, allocations: 16.89 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.6949, allocations: 79.86 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.6949, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.819e-05/0.695, allocations: 36.83 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.6951, allocations: 11.98 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.6951, allocations: 38.17 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.084e-05/0.6952, allocations: 42.62 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.706e-06/0.6952, allocations: 0 / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.79e-06/0.6952, allocations: 0 / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.068e-06/0.6952, allocations: 0 / 1.461 GB, free: 283.6 MB / 0.8542 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.0002353/0.6955, allocations: 345.4 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.6955, allocations: 11.62 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.6956, allocations: 11.84 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.069e-05/0.6956, allocations: 176.1 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.6957, allocations: 4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.4e-06/0.6957, allocations: 3.938 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.6959, allocations: 179.1 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.922e-06/0.6959, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.696, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-05/0.696, allocations: 27.97 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.215e-05/0.6961, allocations: 36.78 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.6966, allocations: 0.9027 MB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.896e-05/0.6967, allocations: 170.6 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.6967, allocations: 84.8 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.6968, allocations: 85.05 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.6968, allocations: 105.8 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.872e-06/0.6968, allocations: 0.5625 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 8.481e-05/0.6969, allocations: 38.11 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.697, allocations: 388.5 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.6971, allocations: 167.2 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.6972, allocations: 29.7 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.6972, allocations: 144.1 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.374e-06/0.6972, allocations: 11.92 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/0.6973, allocations: 4.719 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.6973, allocations: 314.8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/0.6974, allocations: 28.84 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.6975, allocations: 225.6 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.6977, allocations: 64.05 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.771e-06/0.6977, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003402/0.698, allocations: 193.6 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.6981, allocations: 7.594 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6981, allocations: 8 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.6981, allocations: 8.828 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.6983, allocations: 39.92 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.6983, allocations: 7.938 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.6984, allocations: 25 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.6984, allocations: 16 kB / 1.465 GB, free: 279.5 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.6986, allocations: 216.7 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.6986, allocations: 114.7 kB / 1.465 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.6987, allocations: 120.8 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.864e-05/0.6987, allocations: 176.3 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.787e-05/0.6988, allocations: 180.2 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.771e-05/0.6988, allocations: 185.8 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.699, allocations: 427.5 kB / 1.466 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/0.699, allocations: 112.9 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-05/0.6991, allocations: 101.5 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.884e-05/0.6991, allocations: 177.1 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.6991, allocations: 185.2 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-05/0.6992, allocations: 182.6 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.85e-05/0.6992, allocations: 184.2 kB / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.702e-05/0.6993, allocations: 320.8 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.6994, allocations: 183.5 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.6994, allocations: 188.3 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.6995, allocations: 108.9 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.6996, allocations: 179.1 kB / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.6996, allocations: 108.9 kB / 1.468 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.679e-05/0.6997, allocations: 115.8 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.06e-07/0.6997, allocations: 0 / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004243/0.7002, allocations: 24 kB / 1.469 GB, free: 275.7 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001714/0.7003, allocations: 187.8 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.7005, allocations: 75.78 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.7005, allocations: 0 / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.277e-06/0.7006, allocations: 0 / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.7009, allocations: 0.5327 MB / 1.469 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.7012, allocations: 244.6 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.7013, allocations: 0.6932 MB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000251/0.7016, allocations: 62.36 kB / 1.47 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.7016, allocations: 15.94 kB / 1.47 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.515e-06/0.7016, allocations: 0.9375 kB / 1.47 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.004859/0.7065, allocations: 1.693 MB / 1.472 GB, free: 272.3 MB / 0.8542 GB