Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 188.4 kB / 15.77 MB, free: 6.031 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.8313/0.8313, allocations: 82.93 MB / 99.42 MB, free: 3.324 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.243/2.243, allocations: 205.4 MB / 325.4 MB, free: 3.414 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.001045/0.001045, allocations: 97.83 kB / 393.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004662, allocations: 15.98 kB / 471.5 MB, free: 66.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.108, allocations: 67.45 MB / 0.5263 GB, free: 15.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.001826/0.1099, allocations: 1.156 MB / 0.5275 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.111, allocations: 0.5562 MB / 0.528 GB, free: 13.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.1111, allocations: 4 kB / 0.528 GB, free: 13.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.1111, allocations: 0 / 0.528 GB, free: 13.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.952e-05/0.1112, allocations: 15.91 kB / 0.528 GB, free: 13.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.1114, allocations: 31.91 kB / 0.5281 GB, free: 13.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.616e-05/0.1115, allocations: 23.91 kB / 0.5281 GB, free: 13.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.213e-05/0.1116, allocations: 0 / 0.5281 GB, free: 13.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.729e-05/0.1117, allocations: 15.98 kB / 0.5281 GB, free: 13.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.1117, allocations: 7.938 kB / 0.5281 GB, free: 13.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1117, allocations: 4 kB / 0.5281 GB, free: 13.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1119, allocations: 51.88 kB / 0.5282 GB, free: 13.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.1119, allocations: 4 kB / 0.5282 GB, free: 13.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.1119, allocations: 29.64 kB / 0.5282 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.1121, allocations: 47.92 kB / 0.5282 GB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.999e-06/0.1121, allocations: 0 / 0.5282 GB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.947e-06/0.1121, allocations: 0 / 0.5282 GB, free: 13.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.345e-06/0.1121, allocations: 0 / 0.5282 GB, free: 13.11 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004617/0.1126, allocations: 347.5 kB / 0.5286 GB, free: 12.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1126, allocations: 8.031 kB / 0.5286 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.1127, allocations: 7.906 kB / 0.5286 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1128, allocations: 175 kB / 0.5288 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1129, allocations: 4 kB / 0.5288 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.1129, allocations: 4 kB / 0.5288 GB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1131, allocations: 45.64 kB / 0.5288 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.457e-06/0.1131, allocations: 0 / 0.5288 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1131, allocations: 0 / 0.5288 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-06/0.1131, allocations: 3.938 kB / 0.5288 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.1132, allocations: 27.98 kB / 0.5288 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.1136, allocations: 249 kB / 0.5291 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.1138, allocations: 34.52 kB / 0.5291 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.1148, allocations: 0.4936 MB / 0.5296 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.1149, allocations: 38.48 kB / 0.5296 GB, free: 11.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.294e-06/0.1149, allocations: 3.938 kB / 0.5296 GB, free: 11.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003159/0.1152, allocations: 69.69 kB / 0.5297 GB, free: 11.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1153, allocations: 51.41 kB / 0.5297 GB, free: 11.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1154, allocations: 109.8 kB / 0.5299 GB, free: 11.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1154, allocations: 29.7 kB / 0.5299 GB, free: 11.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.1155, allocations: 84.12 kB / 0.53 GB, free: 11.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.1155, allocations: 11.84 kB / 0.53 GB, free: 11.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-06/0.1155, allocations: 0 / 0.53 GB, free: 11.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1157, allocations: 314.8 kB / 0.5303 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.031e-05/0.1158, allocations: 16.02 kB / 0.5303 GB, free: 10.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.962e-05/0.1159, allocations: 8 kB / 0.5303 GB, free: 10.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.961e-05/0.1159, allocations: 15.98 kB / 0.5303 GB, free: 10.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-06/0.116, allocations: 3.938 kB / 0.5303 GB, free: 10.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001843/0.1161, allocations: 61.73 kB / 0.5304 GB, free: 10.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1162, allocations: 8 kB / 0.5304 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.852e-06/0.1162, allocations: 0 / 0.5304 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1162, allocations: 0 / 0.5304 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.1163, allocations: 7.984 kB / 0.5304 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.442e-06/0.1163, allocations: 0 / 0.5304 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.1164, allocations: 4 kB / 0.5304 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1164, allocations: 0 / 0.5304 GB, free: 10.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001035/0.1165, allocations: 113.8 kB / 0.5305 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.1166, allocations: 11.86 kB / 0.5305 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.1168, allocations: 65.14 kB / 0.5306 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.021e-06/0.1168, allocations: 4 kB / 0.5306 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.15e-06/0.1169, allocations: 0 / 0.5306 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-06/0.1169, allocations: 0 / 0.5306 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.1171, allocations: 165.6 kB / 0.5307 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-06/0.1171, allocations: 0 / 0.5307 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/0.1172, allocations: 12.03 kB / 0.5307 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.238e-06/0.1172, allocations: 0 / 0.5307 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1172, allocations: 7.938 kB / 0.5308 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1173, allocations: 0 / 0.5308 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1173, allocations: 0 / 0.5308 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.1175, allocations: 151.5 kB / 0.5309 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1176, allocations: 81.14 kB / 0.531 GB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1176, allocations: 8 kB / 0.531 GB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.862e-05/0.1177, allocations: 11.94 kB / 0.531 GB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.1178, allocations: 0 / 0.531 GB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-06/0.1178, allocations: 0 / 0.531 GB, free: 9.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.379e-05/0.1179, allocations: 95.56 kB / 0.5311 GB, free: 9.797 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.707e-06/0.1179, allocations: 3.938 kB / 0.5311 GB, free: 9.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.1182, allocations: 23.84 kB / 0.5311 GB, free: 9.77 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 (2): * Single equations (assignments): 2 * 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.000191/0.1184, allocations: 111.2 kB / 0.5312 GB, free: 9.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.1186, allocations: 23.98 kB / 0.5312 GB, free: 9.625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.968e-06/0.1186, allocations: 0 / 0.5312 GB, free: 9.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.1187, allocations: 12 kB / 0.5313 GB, free: 9.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.1189, allocations: 4 kB / 0.5313 GB, free: 9.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.1192, allocations: 144.6 kB / 0.5314 GB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.1196, allocations: 0.6809 MB / 0.5321 GB, free: 8.738 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.481e-05/0.1197, allocations: 3.984 kB / 0.5321 GB, free: 8.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.1197, allocations: 11.44 kB / 0.5321 GB, free: 8.723 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1197, allocations: 0 / 0.5321 GB, free: 8.723 MB / 378.7 MB Notification: Performance of Templates: time 0.00313/0.1228, allocations: 0.6205 MB / 0.5327 GB, free: 8.105 MB / 378.7 MB