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.0008554/0.0008554, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008278/0.0008278, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.603/1.603, allocations: 252 MB / 0.5102 GB, free: 4.727 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.0005162/0.0005163, allocations: 20 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4974, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0008264/0.4983, allocations: 344.5 kB / 0.7285 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003185/0.4987, allocations: 67.83 kB / 0.7285 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.4987, allocations: 0 / 0.7285 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.4988, allocations: 7.984 kB / 0.7285 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.041e-05/0.4988, allocations: 4 kB / 0.7285 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.4991, allocations: 35.95 kB / 0.7286 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.277e-05/0.4992, allocations: 23.92 kB / 0.7286 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.4992, allocations: 7.984 kB / 0.7286 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.826e-05/0.4992, allocations: 11.98 kB / 0.7286 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.4995, allocations: 75.86 kB / 0.7287 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.4995, allocations: 4 kB / 0.7287 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.4996, allocations: 31.97 kB / 0.7287 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.4997, allocations: 19.97 kB / 0.7287 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.4997, allocations: 33.64 kB / 0.7288 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.277e-05/0.4998, allocations: 39.95 kB / 0.7288 GB, free: 10.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4998, allocations: 4 kB / 0.7288 GB, free: 10.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4998, allocations: 3.938 kB / 0.7288 GB, free: 10.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.4998, allocations: 0 / 0.7288 GB, free: 10.71 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.0003393/0.5002, allocations: 349.3 kB / 0.7292 GB, free: 10.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5002, allocations: 12.03 kB / 0.7292 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.5003, allocations: 11.89 kB / 0.7292 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.528e-05/0.5004, allocations: 170.9 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.5004, allocations: 0 / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.5004, allocations: 4 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.5007, allocations: 186.1 kB / 0.7295 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5007, allocations: 0 / 0.7295 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5007, allocations: 0 / 0.7295 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.5008, allocations: 19.98 kB / 0.7295 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.885e-05/0.5008, allocations: 39.91 kB / 0.7296 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006962/0.5015, allocations: 0.9061 MB / 0.7305 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.5017, allocations: 177.1 kB / 0.7306 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.5017, allocations: 88.08 kB / 0.7307 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.5018, allocations: 75.28 kB / 0.7308 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.751e-05/0.5018, allocations: 109.8 kB / 0.7309 GB, free: 8.383 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.5018, allocations: 0 / 0.7309 GB, free: 8.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.63e-05/0.5019, allocations: 33.7 kB / 0.7309 GB, free: 8.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/0.5021, allocations: 387.7 kB / 0.7313 GB, free: 7.891 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.5023, allocations: 170.1 kB / 0.7315 GB, free: 7.715 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.5023, allocations: 29.7 kB / 0.7315 GB, free: 7.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.5024, allocations: 147.2 kB / 0.7316 GB, free: 7.531 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/0.5024, allocations: 7.984 kB / 0.7316 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.5024, allocations: 4 kB / 0.7316 GB, free: 7.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5025, allocations: 318.8 kB / 0.7319 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.091e-05/0.5026, allocations: 28.34 kB / 0.732 GB, free: 7.172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.5027, allocations: 221.7 kB / 0.7322 GB, free: 6.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.941e-05/0.5029, allocations: 74.8 kB / 0.7322 GB, free: 6.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.5029, allocations: 0 / 0.7322 GB, free: 6.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002801/0.5031, allocations: 181.4 kB / 0.7324 GB, free: 6.609 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.5032, allocations: 11.98 kB / 0.7324 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.5032, allocations: 4 kB / 0.7324 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.5032, allocations: 8 kB / 0.7324 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.5033, allocations: 39.92 kB / 0.7325 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.5034, allocations: 7.938 kB / 0.7325 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.5034, allocations: 28.22 kB / 0.7325 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.5035, allocations: 16 kB / 0.7325 GB, free: 6.496 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.5036, allocations: 216.9 kB / 0.7327 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.5037, allocations: 113 kB / 0.7328 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.96e-05/0.5038, allocations: 120.7 kB / 0.733 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.736e-05/0.5038, allocations: 176.3 kB / 0.7331 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-05/0.5039, allocations: 184.2 kB / 0.7333 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-05/0.5039, allocations: 180.3 kB / 0.7335 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.5042, allocations: 425.2 kB / 0.7339 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.055e-05/0.5042, allocations: 104.9 kB / 0.734 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.5043, allocations: 105 kB / 0.7341 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.223e-05/0.5043, allocations: 180.2 kB / 0.7343 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.5044, allocations: 184.3 kB / 0.7344 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.087e-05/0.5045, allocations: 180.2 kB / 0.7346 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-05/0.5045, allocations: 188.1 kB / 0.7348 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.5047, allocations: 319.9 kB / 0.7351 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.5048, allocations: 190 kB / 0.7353 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.881e-05/0.5049, allocations: 188.3 kB / 0.7354 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.507e-05/0.505, allocations: 112.9 kB / 0.7356 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.505, allocations: 176.3 kB / 0.7357 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.5051, allocations: 104.9 kB / 0.7358 GB, free: 2.895 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.004e-05/0.5051, allocations: 119.8 kB / 0.7359 GB, free: 2.777 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5052, allocations: 0 / 0.7359 GB, free: 2.777 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002924/0.5054, allocations: 28 kB / 0.736 GB, free: 2.75 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 (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.0002053/0.5057, allocations: 189.6 kB / 0.7361 GB, free: 2.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.5058, allocations: 68.78 kB / 0.7362 GB, free: 2.492 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5058, allocations: 4 kB / 0.7362 GB, free: 2.488 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.5058, allocations: 4.312 kB / 0.7362 GB, free: 2.484 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.5063, allocations: 0.5316 MB / 0.7367 GB, free: 1.949 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.5067, allocations: 246.5 kB / 0.737 GB, free: 1.684 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.507, allocations: 0.6932 MB / 0.7376 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.5072, allocations: 52.59 kB / 0.7377 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.5073, allocations: 11.44 kB / 0.7377 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5073, allocations: 0 / 0.7377 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of Templates: time 0.00429/0.5116, allocations: 1.693 MB / 0.7394 GB, free: 15.23 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: