Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001435, allocations: 186.8 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.8045/0.8045, allocations: 82.92 MB / 99.42 MB, free: 3.258 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.412/2.412, allocations: 205.4 MB / 325.4 MB, free: 3.27 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 92.48 kB / 393.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004485, allocations: 16 kB / 471.5 MB, free: 66.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09771/0.09818, allocations: 67.45 MB / 0.5264 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007173/0.09895, allocations: 324.3 kB / 0.5267 GB, free: 14.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002788/0.09925, allocations: 69.55 kB / 0.5267 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.09929, allocations: 0 / 0.5267 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.09934, allocations: 0 / 0.5267 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.09939, allocations: 7.984 kB / 0.5267 GB, free: 14.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.09962, allocations: 39.89 kB / 0.5268 GB, free: 14.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.213e-05/0.0997, allocations: 23.97 kB / 0.5268 GB, free: 14.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.09976, allocations: 4 kB / 0.5268 GB, free: 14.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.035e-05/0.0998, allocations: 15.98 kB / 0.5268 GB, free: 14.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1, allocations: 75.91 kB / 0.5269 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1, allocations: 0 / 0.5269 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-05/0.1002, allocations: 31.91 kB / 0.5269 GB, free: 14.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.1002, allocations: 19.92 kB / 0.5269 GB, free: 14.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.1003, allocations: 37.64 kB / 0.527 GB, free: 14.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.216e-05/0.1004, allocations: 35.94 kB / 0.527 GB, free: 14.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.047e-06/0.1004, allocations: 4 kB / 0.527 GB, free: 14.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.1004, allocations: 4 kB / 0.527 GB, free: 14.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.752e-06/0.1004, allocations: 0 / 0.527 GB, free: 14.36 MB / 378.7 MB 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.0003682/0.1008, allocations: 349.2 kB / 0.5274 GB, free: 13.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1008, allocations: 12.03 kB / 0.5274 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.1009, allocations: 7.906 kB / 0.5274 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.101, allocations: 163 kB / 0.5275 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.101, allocations: 3.938 kB / 0.5275 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1011, allocations: 7.984 kB / 0.5275 GB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.1014, allocations: 171.3 kB / 0.5277 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1014, allocations: 0 / 0.5277 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1014, allocations: 15.88 kB / 0.5277 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.522e-05/0.1015, allocations: 23.98 kB / 0.5277 GB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.06e-05/0.1016, allocations: 39.89 kB / 0.5278 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008918/0.1025, allocations: 0.8946 MB / 0.5287 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1026, allocations: 165.1 kB / 0.5288 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.992e-05/0.1027, allocations: 79.28 kB / 0.5289 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.304e-05/0.1028, allocations: 113.8 kB / 0.529 GB, free: 12.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.033e-06/0.1028, allocations: 7.875 kB / 0.529 GB, free: 12.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001063/0.1029, allocations: 37.56 kB / 0.529 GB, free: 12.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002277/0.1031, allocations: 387.7 kB / 0.5294 GB, free: 11.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.1033, allocations: 170 kB / 0.5296 GB, free: 11.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1034, allocations: 25.7 kB / 0.5296 GB, free: 11.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.1035, allocations: 155.3 kB / 0.5297 GB, free: 11.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.795e-06/0.1035, allocations: 7.984 kB / 0.5298 GB, free: 11.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-06/0.1036, allocations: 0 / 0.5298 GB, free: 11.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1037, allocations: 318.8 kB / 0.5301 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.1038, allocations: 28.34 kB / 0.5301 GB, free: 10.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.1041, allocations: 223.3 kB / 0.5303 GB, free: 10.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1042, allocations: 65.44 kB / 0.5304 GB, free: 10.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.973e-06/0.1042, allocations: 4 kB / 0.5304 GB, free: 10.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004126/0.1046, allocations: 193.6 kB / 0.5305 GB, free: 10.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1047, allocations: 12.09 kB / 0.5306 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1047, allocations: 4 kB / 0.5306 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.1047, allocations: 4 kB / 0.5306 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.1049, allocations: 43.88 kB / 0.5306 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.1049, allocations: 8 kB / 0.5306 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.1051, allocations: 27.69 kB / 0.5306 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.1051, allocations: 12 kB / 0.5307 GB, free: 10.23 MB / 378.7 MB 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.0001822/0.1053, allocations: 213 kB / 0.5309 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1054, allocations: 120.8 kB / 0.531 GB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.1055, allocations: 112.8 kB / 0.5311 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.048e-05/0.1056, allocations: 184.2 kB / 0.5313 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.784e-05/0.1057, allocations: 184.2 kB / 0.5314 GB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.688e-05/0.1058, allocations: 176.3 kB / 0.5316 GB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.1061, allocations: 425.1 kB / 0.532 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.455e-05/0.1062, allocations: 105 kB / 0.5321 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.1063, allocations: 104.9 kB / 0.5322 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.981e-05/0.1064, allocations: 176.3 kB / 0.5324 GB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.754e-05/0.1065, allocations: 180.4 kB / 0.5325 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.442e-05/0.1066, allocations: 192.2 kB / 0.5327 GB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.372e-05/0.1067, allocations: 188.3 kB / 0.5329 GB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.1069, allocations: 307.7 kB / 0.5332 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.107, allocations: 193.9 kB / 0.5334 GB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.1072, allocations: 180.3 kB / 0.5336 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1073, allocations: 105 kB / 0.5337 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.1074, allocations: 184.2 kB / 0.5338 GB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.1075, allocations: 105 kB / 0.5339 GB, free: 6.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1076, allocations: 115.8 kB / 0.534 GB, free: 6.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.1076, allocations: 96 / 0.534 GB, free: 6.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004567/0.1081, allocations: 35.89 kB / 0.5341 GB, free: 6.496 MB / 378.7 MB 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.0002518/0.1084, allocations: 186.5 kB / 0.5343 GB, free: 6.301 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1086, allocations: 79.72 kB / 0.5343 GB, free: 6.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.603e-06/0.1086, allocations: 0 / 0.5343 GB, free: 6.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.28e-06/0.1087, allocations: 0 / 0.5343 GB, free: 6.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.1091, allocations: 0.5315 MB / 0.5349 GB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.1094, allocations: 242.5 kB / 0.5351 GB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1098, allocations: 0.6971 MB / 0.5358 GB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002543/0.1101, allocations: 52.58 kB / 0.5358 GB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.1101, allocations: 15.44 kB / 0.5358 GB, free: 4.633 MB / 378.7 MB Notification: Performance of SimCode: time 1.732e-06/0.1101, allocations: 0 / 0.5358 GB, free: 4.633 MB / 378.7 MB Notification: Performance of Templates: time 0.005411/0.1156, allocations: 1.689 MB / 0.5375 GB, free: 2.973 MB / 378.7 MB