Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.362/2.362, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 179.1 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.404/2.404, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 94.48 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006978/0.0006978, allocations: 11.56 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.251, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001783/0.2528, allocations: 1.175 MB / 0.9 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2539, allocations: 0.569 MB / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.254, allocations: 0 / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.254, allocations: 3.938 kB / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.371e-05/0.2541, allocations: 0 / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.2543, allocations: 35.95 kB / 0.9006 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.467e-05/0.2544, allocations: 19.92 kB / 0.9006 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.877e-05/0.2545, allocations: 7.969 kB / 0.9006 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.683e-05/0.2546, allocations: 19.94 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.2547, allocations: 11.92 kB / 0.9007 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2547, allocations: 0 / 0.9007 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.2548, allocations: 39.97 kB / 0.9007 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.2548, allocations: 15.91 kB / 0.9007 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.2549, allocations: 25.7 kB / 0.9008 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.255, allocations: 35.95 kB / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.255, allocations: 0 / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.255, allocations: 0 / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.255, allocations: 0 / 0.9008 GB, free: 63.48 MB / 0.6042 GB 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.0004073/0.2555, allocations: 355.5 kB / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2555, allocations: 8.031 kB / 0.9011 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.2556, allocations: 7.859 kB / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2557, allocations: 167.1 kB / 0.9013 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2557, allocations: 0 / 0.9013 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.2557, allocations: 4 kB / 0.9013 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.2559, allocations: 49.61 kB / 0.9014 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2559, allocations: 3.938 kB / 0.9014 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2559, allocations: 4 kB / 0.9014 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2559, allocations: 0 / 0.9014 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.2561, allocations: 27.98 kB / 0.9014 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.2564, allocations: 256.9 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.2565, allocations: 38.56 kB / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.2577, allocations: 497.5 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.2578, allocations: 38.48 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.2578, allocations: 0 / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003293/0.2581, allocations: 77.58 kB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.2582, allocations: 55.36 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.424e-05/0.2583, allocations: 105.8 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.2583, allocations: 29.7 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.2583, allocations: 84.14 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.2584, allocations: 3.906 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.2584, allocations: 0 / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.2585, allocations: 323 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.459e-05/0.2585, allocations: 8 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-05/0.2586, allocations: 19.92 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.818e-05/0.2587, allocations: 8 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2587, allocations: 0 / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001752/0.2589, allocations: 65.75 kB / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2589, allocations: 4 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2589, allocations: 0 / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.259, allocations: 3.984 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.989e-05/0.2591, allocations: 4 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2591, allocations: 7.953 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.2592, allocations: 3.938 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2592, allocations: 4 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB 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 6.437e-05/0.2592, allocations: 109.9 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.2593, allocations: 7.891 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.2595, allocations: 65.16 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2595, allocations: 7.984 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2596, allocations: 0 / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2596, allocations: 3.953 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.2597, allocations: 153.7 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2598, allocations: 7.969 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.2598, allocations: 11.98 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2598, allocations: 0 / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2599, allocations: 0 / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2599, allocations: 0 / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2599, allocations: 0 / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.2601, allocations: 167.4 kB / 0.9035 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.2601, allocations: 81.02 kB / 0.9035 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.2602, allocations: 0 / 0.9035 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.273e-05/0.2603, allocations: 4 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.2603, allocations: 3.938 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.2603, allocations: 0 / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.903e-05/0.2604, allocations: 95.56 kB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2604, allocations: 0 / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003139/0.2607, allocations: 16 kB / 0.9037 GB, free: 60.14 MB / 0.6042 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 (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.0001873/0.2609, allocations: 119.2 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.2611, allocations: 23.98 kB / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2611, allocations: 0 / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/0.2612, allocations: 19.92 kB / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.2614, allocations: 8.078 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.2617, allocations: 136.6 kB / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.2619, allocations: 0.6848 MB / 0.9046 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.2619, allocations: 4 kB / 0.9046 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.2619, allocations: 11.44 kB / 0.9046 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.262, allocations: 0 / 0.9046 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.003735/0.2657, allocations: 0.6171 MB / 0.9052 GB, free: 58.46 MB / 0.6042 GB