Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002381/0.002385, allocations: 356 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.424/1.424, allocations: 165.8 MB / 182.5 MB, free: 5.402 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.68/3.68, allocations: 410.8 MB / 0.5995 GB, free: 15.09 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001734/0.001733, allocations: 191.7 kB / 0.6662 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007516/0.0007518, allocations: 12 kB / 0.7423 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3472, allocations: 67.43 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.0006229/0.3479, allocations: 332.7 kB / 0.8085 GB, free: 28.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 3.049e-05/0.348, allocations: 3.938 kB / 0.8085 GB, free: 28.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.292e-05/0.348, allocations: 3.938 kB / 0.8085 GB, free: 28.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.348, allocations: 0 / 0.8085 GB, free: 28.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.668e-06/0.348, allocations: 4 kB / 0.8085 GB, free: 28.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.532e-05/0.3481, allocations: 0 / 0.8085 GB, free: 28.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.906e-05/0.3481, allocations: 0 / 0.8085 GB, free: 28.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/0.3482, allocations: 4 kB / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.397e-05/0.3482, allocations: 3.984 kB / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.39e-05/0.3482, allocations: 0 / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.427e-06/0.3482, allocations: 0 / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.476e-06/0.3482, allocations: 0 / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.339e-06/0.3483, allocations: 0 / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.42e-05/0.3483, allocations: 25.7 kB / 0.8085 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 3.194e-05/0.3483, allocations: 7.984 kB / 0.8085 GB, free: 28.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.256e-06/0.3483, allocations: 4 kB / 0.8085 GB, free: 28.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.846e-06/0.3483, allocations: 0 / 0.8085 GB, free: 28.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.432e-06/0.3484, allocations: 4 kB / 0.8085 GB, free: 28.41 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001711/0.3485, allocations: 306.3 kB / 0.8088 GB, free: 28.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3486, allocations: 8.094 kB / 0.8088 GB, free: 28.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.3486, allocations: 0 / 0.8088 GB, free: 28.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.284e-05/0.3487, allocations: 159.1 kB / 0.809 GB, free: 27.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3487, allocations: 4 kB / 0.809 GB, free: 27.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-06/0.3487, allocations: 3.938 kB / 0.809 GB, free: 27.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.163e-05/0.3488, allocations: 37.62 kB / 0.809 GB, free: 27.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.675e-06/0.3488, allocations: 0 / 0.809 GB, free: 27.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.3488, allocations: 3.953 kB / 0.809 GB, free: 27.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-06/0.3488, allocations: 0 / 0.809 GB, free: 27.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.569e-05/0.3489, allocations: 4 kB / 0.809 GB, free: 27.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.966e-05/0.349, allocations: 145.7 kB / 0.8092 GB, free: 27.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.092e-05/0.349, allocations: 14.58 kB / 0.8092 GB, free: 27.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.349, allocations: 16.89 kB / 0.8092 GB, free: 27.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.68e-06/0.3491, allocations: 0 / 0.8092 GB, free: 27.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.3491, allocations: 34.55 kB / 0.8092 GB, free: 27.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.5e-06/0.3491, allocations: 0 / 0.8092 GB, free: 27.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 9.89e-05/0.3492, allocations: 37.7 kB / 0.8093 GB, free: 27.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.3492, allocations: 55.36 kB / 0.8093 GB, free: 27.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.858e-05/0.3493, allocations: 89.86 kB / 0.8094 GB, free: 27.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.264e-06/0.3493, allocations: 25.7 kB / 0.8094 GB, free: 27.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.389e-05/0.3493, allocations: 84.27 kB / 0.8095 GB, free: 27.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.3493, allocations: 3.906 kB / 0.8095 GB, free: 27.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-06/0.3494, allocations: 0 / 0.8095 GB, free: 27.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.636e-05/0.3494, allocations: 310.8 kB / 0.8098 GB, free: 26.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.3494, allocations: 7.938 kB / 0.8098 GB, free: 26.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.439e-06/0.3494, allocations: 7.938 kB / 0.8098 GB, free: 26.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.525e-05/0.3495, allocations: 0 / 0.8098 GB, free: 26.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-06/0.3495, allocations: 0 / 0.8098 GB, free: 26.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.785e-05/0.3495, allocations: 41.75 kB / 0.8098 GB, free: 26.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3496, allocations: 4 kB / 0.8099 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3496, allocations: 0 / 0.8099 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3496, allocations: 0 / 0.8099 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.48e-05/0.3497, allocations: 0 / 0.8099 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3497, allocations: 4 kB / 0.8099 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.213e-05/0.3497, allocations: 3.953 kB / 0.8099 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-06/0.3497, allocations: 0 / 0.8099 GB, free: 26.82 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 (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 4.567e-05/0.3498, allocations: 111.5 kB / 0.81 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.129e-06/0.3498, allocations: 32 / 0.81 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.3498, allocations: 15.11 kB / 0.81 GB, free: 26.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-06/0.3498, allocations: 4 kB / 0.81 GB, free: 26.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.975e-06/0.3498, allocations: 0 / 0.81 GB, free: 26.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3498, allocations: 3.938 kB / 0.81 GB, free: 26.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.169e-05/0.3499, allocations: 149.6 kB / 0.8101 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3499, allocations: 0 / 0.8101 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.3499, allocations: 4 kB / 0.8101 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.569e-06/0.3499, allocations: 0 / 0.8101 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.743e-06/0.35, allocations: 0 / 0.8101 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.35, allocations: 0 / 0.8101 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.53e-06/0.35, allocations: 4 kB / 0.8101 GB, free: 26.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.613e-05/0.35, allocations: 61.08 kB / 0.8102 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.3501, allocations: 85.09 kB / 0.8103 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.43e-06/0.3501, allocations: 0 / 0.8103 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.3501, allocations: 4 kB / 0.8103 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.3501, allocations: 0 / 0.8103 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-06/0.3501, allocations: 0 / 0.8103 GB, free: 26.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.376e-05/0.3502, allocations: 79.31 kB / 0.8104 GB, free: 26.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-07/0.3502, allocations: 0 / 0.8104 GB, free: 26.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.3504, allocations: 4 kB / 0.8104 GB, free: 26.21 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 (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 6.501e-05/0.3505, allocations: 99.17 kB / 0.8105 GB, free: 26.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.583e-05/0.3505, allocations: 4 kB / 0.8105 GB, free: 26.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.419e-06/0.3506, allocations: 0 / 0.8105 GB, free: 26.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.958e-06/0.3506, allocations: 0 / 0.8105 GB, free: 26.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.3507, allocations: 13.23 kB / 0.8105 GB, free: 26.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001418/0.3509, allocations: 74.89 kB / 0.8105 GB, free: 25.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.815e-05/0.351, allocations: 0.6731 MB / 0.8112 GB, free: 25.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.193e-05/0.351, allocations: 4 kB / 0.8112 GB, free: 25.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.3511, allocations: 11.38 kB / 0.8112 GB, free: 25.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.318e-06/0.3511, allocations: 3.938 kB / 0.8112 GB, free: 25.27 MB / 378.7 MB Notification: Performance of Templates: time 0.001818/0.3529, allocations: 148.5 kB / 0.8114 GB, free: 25.12 MB / 378.7 MB