Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.278/2.278, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.002332/0.002332, allocations: 181.4 kB / 325.6 MB, free: 2.824 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.895/2.895, 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.001089/0.001088, allocations: 94.06 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000622/0.0006222, allocations: 11.78 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2548, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0007872/0.2557, allocations: 338.8 kB / 0.8992 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.448e-05/0.2557, allocations: 0 / 0.8992 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.432e-05/0.2558, allocations: 0 / 0.8992 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.2558, allocations: 0 / 0.8992 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.2558, allocations: 0 / 0.8992 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.977e-05/0.2558, allocations: 4 kB / 0.8992 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.349e-05/0.2559, allocations: 0 / 0.8992 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.2559, allocations: 3.984 kB / 0.8992 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.095e-05/0.256, allocations: 4 kB / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.052e-05/0.256, allocations: 3.938 kB / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.256, allocations: 3.938 kB / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.797e-06/0.256, allocations: 0 / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.2561, allocations: 0 / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.2561, allocations: 29.7 kB / 0.8992 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.395e-05/0.2561, allocations: 0 / 0.8992 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2561, allocations: 3.938 kB / 0.8992 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2562, allocations: 0 / 0.8992 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2562, allocations: 0 / 0.8992 GB, free: 65.12 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.0002/0.2564, allocations: 311.4 kB / 0.8995 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2564, allocations: 12.09 kB / 0.8996 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.2565, allocations: 0 / 0.8996 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.21e-05/0.2565, allocations: 167 kB / 0.8997 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.2565, allocations: 0 / 0.8997 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.2566, allocations: 0 / 0.8997 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.904e-05/0.2567, allocations: 25.7 kB / 0.8997 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2567, allocations: 4 kB / 0.8997 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.2567, allocations: 0 / 0.8997 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2567, allocations: 0 / 0.8997 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.2567, allocations: 7.938 kB / 0.8997 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.2568, allocations: 149.6 kB / 0.8999 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.568e-05/0.2569, allocations: 22.59 kB / 0.8999 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.2569, allocations: 0 / 0.8999 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.2569, allocations: 30.56 kB / 0.8999 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.2569, allocations: 0 / 0.8999 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001087/0.2571, allocations: 45.59 kB / 0.9 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.2571, allocations: 55.41 kB / 0.9 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.059e-05/0.2571, allocations: 89.86 kB / 0.9001 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.2571, allocations: 29.7 kB / 0.9002 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.742e-05/0.2572, allocations: 84.12 kB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.2572, allocations: 0 / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.2572, allocations: 0 / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.239e-05/0.2573, allocations: 310.8 kB / 0.9005 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.918e-06/0.2573, allocations: 5.234 kB / 0.9005 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-06/0.2573, allocations: 8 kB / 0.9005 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.674e-05/0.2573, allocations: 3.953 kB / 0.9005 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2573, allocations: 0 / 0.9005 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.232e-05/0.2574, allocations: 41.58 kB / 0.9006 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2574, allocations: 8 kB / 0.9006 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2574, allocations: 0 / 0.9006 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2575, allocations: 0 / 0.9006 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.2575, allocations: 0 / 0.9006 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.2575, allocations: 0 / 0.9006 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.152e-05/0.2576, allocations: 4.094 kB / 0.9006 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.2576, allocations: 4 kB / 0.9006 GB, free: 63.52 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.194e-05/0.2576, allocations: 113.8 kB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.2576, allocations: 4 kB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.362e-05/0.2577, allocations: 3.125 kB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2577, allocations: 3.938 kB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2577, allocations: 0 / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2577, allocations: 0 / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.221e-05/0.2578, allocations: 145.7 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2578, allocations: 7.953 kB / 0.9009 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/0.2578, allocations: 0 / 0.9009 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2578, allocations: 3.984 kB / 0.9009 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.2578, allocations: 0 / 0.9009 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2578, allocations: 4 kB / 0.9009 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2578, allocations: 0 / 0.9009 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.8e-05/0.2579, allocations: 57.08 kB / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.2579, allocations: 81.06 kB / 0.901 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.258, allocations: 4.031 kB / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.258, allocations: 7.984 kB / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.258, allocations: 0 / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.258, allocations: 0 / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.438e-05/0.258, allocations: 75.28 kB / 0.9011 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3e-07/0.258, allocations: 0 / 0.9011 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002277/0.2583, allocations: 4 kB / 0.9011 GB, free: 62.92 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 8.128e-05/0.2584, allocations: 91.25 kB / 0.9012 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.916e-05/0.2584, allocations: 8 kB / 0.9012 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2585, allocations: 0 / 0.9012 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.2585, allocations: 7.938 kB / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.908e-05/0.2586, allocations: 0 / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001492/0.2587, allocations: 78.69 kB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2589, allocations: 0.6731 MB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.198e-05/0.2589, allocations: 0 / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.2589, allocations: 7.438 kB / 0.9019 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.2589, allocations: 4.125 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.002886/0.2618, allocations: 152.5 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB