Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.442/2.442, allocations: 251.1 MB / 266.1 MB, free: 11.56 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.002136/0.002136, allocations: 179.6 kB / 325.6 MB, free: 2.812 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.488/2.488, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001191/0.001191, allocations: 86.58 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006558/0.0006561, allocations: 14.91 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2433, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.000842/0.2442, allocations: 321.1 kB / 0.8992 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002362/0.2445, allocations: 52.67 kB / 0.8992 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.446e-05/0.2445, allocations: 4 kB / 0.8993 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.2445, allocations: 0 / 0.8993 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-06/0.2445, allocations: 0 / 0.8993 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.2447, allocations: 8 kB / 0.8993 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.354e-05/0.2448, allocations: 4 kB / 0.8993 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.2448, allocations: 3.984 kB / 0.8993 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.332e-05/0.2449, allocations: 0 / 0.8993 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.537e-05/0.2449, allocations: 3.938 kB / 0.8993 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.2449, allocations: 0 / 0.8993 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-05/0.245, allocations: 19.98 kB / 0.8993 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.634e-06/0.245, allocations: 3.984 kB / 0.8993 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.2451, allocations: 25.7 kB / 0.8993 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.209e-05/0.2451, allocations: 7.984 kB / 0.8993 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2452, allocations: 0 / 0.8993 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2452, allocations: 0 / 0.8993 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2452, allocations: 8 kB / 0.8993 GB, free: 64.98 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002156/0.2454, allocations: 315.4 kB / 0.8996 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2455, allocations: 8.094 kB / 0.8996 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.2458, allocations: 19.97 kB / 0.8997 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.98e-05/0.2459, allocations: 163 kB / 0.8998 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2459, allocations: 0 / 0.8998 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.2459, allocations: 3.938 kB / 0.8998 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.2461, allocations: 37.69 kB / 0.8999 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.2461, allocations: 0 / 0.8999 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2461, allocations: 4 kB / 0.8999 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.2462, allocations: 3.938 kB / 0.8999 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.2463, allocations: 15.92 kB / 0.8999 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.2464, allocations: 153.6 kB / 0.9 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.494e-05/0.2465, allocations: 22.61 kB / 0.9 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2466, allocations: 0 / 0.9 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.2466, allocations: 30.56 kB / 0.9001 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.2466, allocations: 0 / 0.9001 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003089/0.2469, allocations: 53.58 kB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.247, allocations: 55.41 kB / 0.9002 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.145e-05/0.247, allocations: 89.98 kB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.247, allocations: 29.7 kB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.636e-05/0.247, allocations: 80.14 kB / 0.9004 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.2471, allocations: 4 kB / 0.9004 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.2471, allocations: 0 / 0.9004 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.2472, allocations: 310.8 kB / 0.9007 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.178e-05/0.2472, allocations: 7.984 kB / 0.9007 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.305e-05/0.2473, allocations: 0 / 0.9007 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.83e-05/0.2474, allocations: 16 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2474, allocations: 0 / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001764/0.2476, allocations: 45.62 kB / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2476, allocations: 4 kB / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2476, allocations: 0 / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2477, allocations: 0 / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.2478, allocations: 11.98 kB / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2478, allocations: 0 / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.2479, allocations: 4.031 kB / 0.9008 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.2479, allocations: 4 kB / 0.9008 GB, free: 63.31 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 (1): * Single equations (assignments): 1 * 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 5.792e-05/0.248, allocations: 109.8 kB / 0.9009 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.248, allocations: 3.984 kB / 0.9009 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.248, allocations: 7.109 kB / 0.9009 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.248, allocations: 0 / 0.9009 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.248, allocations: 0 / 0.9009 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2481, allocations: 3.938 kB / 0.9009 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.118e-05/0.2481, allocations: 145.7 kB / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2481, allocations: 7.953 kB / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.431e-05/0.2482, allocations: 7.984 kB / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2482, allocations: 0 / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.2482, allocations: 0 / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2483, allocations: 0 / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2483, allocations: 0 / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.2485, allocations: 74.19 kB / 0.9011 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.2485, allocations: 85.05 kB / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.2485, allocations: 3.938 kB / 0.9012 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.2486, allocations: 0 / 0.9012 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.2486, allocations: 0 / 0.9012 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.2486, allocations: 4 kB / 0.9012 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.957e-05/0.2487, allocations: 75.28 kB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2487, allocations: 0 / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002287/0.2489, allocations: 0 / 0.9013 GB, free: 62.7 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 (1): * Single equations (assignments): 1 * 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.0001195/0.249, allocations: 99.28 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.2492, allocations: 15.98 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2493, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.2493, allocations: 11.92 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.2495, allocations: 4 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.2497, allocations: 78.88 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.2499, allocations: 0.6731 MB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.65e-05/0.2499, allocations: 4 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.25, allocations: 7.438 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.25, allocations: 3.938 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of Templates: time 0.00226/0.2523, allocations: 217.7 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB