Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.19/5.19, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003842/0.003841, allocations: 358.2 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.154/4.154, allocations: 410.7 MB / 1.112 GB, free: 5.988 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001765/0.001765, allocations: 175.7 kB / 1.225 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007958/0.0007962, allocations: 8 kB / 1.348 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6456/0.6465, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0006216/0.6471, allocations: 336.5 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 3.386e-05/0.6472, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.224e-05/0.6472, allocations: 1.031 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.6472, allocations: 3.938 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.733e-06/0.6472, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 2.767e-05/0.6473, allocations: 0.8125 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.815e-05/0.6473, allocations: 7.984 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.6474, allocations: 1.531 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.091e-05/0.6474, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 1.46e-05/0.6474, allocations: 4 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.6474, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 3.546e-06/0.6475, allocations: 1.062 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.519e-06/0.6475, allocations: 3.984 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.6475, allocations: 25.7 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 3.045e-05/0.6475, allocations: 4.5 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.732e-06/0.6476, allocations: 0.7812 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6476, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.71e-06/0.6476, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 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.0001632/0.6478, allocations: 310.1 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.6478, allocations: 19.67 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.6478, allocations: 0 / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.471e-05/0.6479, allocations: 163 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.6479, allocations: 0 / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.6479, allocations: 0 / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.345e-05/0.648, allocations: 30.61 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.648, allocations: 4.75 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-06/0.6481, allocations: 0 / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-06/0.6481, allocations: 1.828 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.6481, allocations: 5.531 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.086e-05/0.6482, allocations: 149.6 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.261e-05/0.6483, allocations: 20.2 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.6483, allocations: 4.859 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.6483, allocations: 5.031 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.6483, allocations: 38.5 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.717e-06/0.6484, allocations: 1.875 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001012/0.6485, allocations: 29.7 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.6485, allocations: 55.34 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.888e-05/0.6485, allocations: 90.92 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.637e-06/0.6485, allocations: 25.7 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.45e-05/0.6486, allocations: 86.78 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.6486, allocations: 4 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-06/0.6486, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.6487, allocations: 314.8 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.85e-06/0.6487, allocations: 0 / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-06/0.6487, allocations: 0 / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.881e-05/0.6487, allocations: 8.719 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.559e-06/0.6487, allocations: 3.953 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.618e-05/0.6488, allocations: 30.48 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6488, allocations: 8.344 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.2e-06/0.6488, allocations: 0 / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6489, allocations: 2.156 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.6489, allocations: 4 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.6489, allocations: 3.984 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/0.649, allocations: 3.906 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-06/0.649, allocations: 0 / 1.462 GB, free: 282.4 MB / 0.8542 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 4.655e-05/0.649, allocations: 119.2 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.649, allocations: 7.953 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.47e-05/0.6491, allocations: 3.125 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-06/0.6491, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.483e-06/0.6491, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.757e-06/0.6491, allocations: 3.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.182e-05/0.6492, allocations: 146.3 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-06/0.6492, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.466e-05/0.6492, allocations: 9.141 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.6492, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-06/0.6492, allocations: 3.938 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.617e-06/0.6492, allocations: 5.047 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.6492, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.625e-05/0.6493, allocations: 58.27 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.885e-05/0.6493, allocations: 85.62 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.6494, allocations: 3.953 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.6494, allocations: 2.719 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-06/0.6494, allocations: 3.938 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-06/0.6494, allocations: 4 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.4e-05/0.6494, allocations: 75.88 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.53e-07/0.6494, allocations: 0.75 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002259/0.6497, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 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 7.22e-05/0.6498, allocations: 93.81 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.45e-05/0.6498, allocations: 7.938 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.338e-06/0.6498, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.958e-06/0.6498, allocations: 4 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.65, allocations: 4.938 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001417/0.6502, allocations: 75.94 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.6503, allocations: 0.6731 MB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.11e-05/0.6503, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.324e-05/0.6503, allocations: 8.219 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.378e-06/0.6503, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.00193/0.6523, allocations: 152.5 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB