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.273/2.273, allocations: 252.6 MB / 265.2 MB, free: 5.707 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001478, allocations: 179.8 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.00115/0.001149, allocations: 94.27 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.135e-05, allocations: 3.938 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1866, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8075/0.9942, allocations: 130.7 MB / 1.023 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.9945, allocations: 72.45 kB / 1.023 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005348/0.995, allocations: 371.4 kB / 1.023 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9951, allocations: 0 / 1.023 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.9951, allocations: 4 kB / 1.023 GB, free: 3.395 MB / 0.6355 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.0002326/0.9953, allocations: 302.5 kB / 1.023 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.9954, allocations: 8.094 kB / 1.023 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.9954, allocations: 4 kB / 1.023 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.9955, allocations: 163 kB / 1.023 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.9956, allocations: 0 / 1.023 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.9956, allocations: 7.922 kB / 1.023 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.393e-05/0.9957, allocations: 25.7 kB / 1.023 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.9957, allocations: 0 / 1.023 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.9957, allocations: 11.98 kB / 1.023 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.9957, allocations: 0 / 1.023 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.9958, allocations: 3.938 kB / 1.023 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.9959, allocations: 152.6 kB / 1.024 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.9e-05/0.996, allocations: 18.61 kB / 1.024 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.996, allocations: 12.3 kB / 1.024 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.996, allocations: 4.062 kB / 1.024 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.9961, allocations: 34.56 kB / 1.024 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.9961, allocations: 2.625 kB / 1.024 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.9962, allocations: 33.69 kB / 1.024 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.9963, allocations: 51.41 kB / 1.024 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.594e-05/0.9963, allocations: 85 kB / 1.024 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.9963, allocations: 25.7 kB / 1.024 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.9964, allocations: 80.14 kB / 1.024 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.9964, allocations: 0 / 1.024 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.9964, allocations: 6.844 kB / 1.024 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.9965, allocations: 314.8 kB / 1.024 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-06/0.9966, allocations: 0 / 1.024 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-06/0.9966, allocations: 3.938 kB / 1.024 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.896e-05/0.9966, allocations: 3.953 kB / 1.024 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.9966, allocations: 4 kB / 1.024 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.878e-05/0.9967, allocations: 29.7 kB / 1.024 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.9967, allocations: 4 kB / 1.024 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.9967, allocations: 8.078 kB / 1.024 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.9968, allocations: 0 / 1.024 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.9968, allocations: 4.875 kB / 1.024 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9968, allocations: 0 / 1.024 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.9969, allocations: 2.562 kB / 1.024 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.9969, allocations: 0 / 1.024 GB, free: 1.82 MB / 0.6355 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 () * 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 6.565e-05/0.997, allocations: 104.9 kB / 1.024 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-06/0.997, allocations: 4 kB / 1.024 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.997, allocations: 7.078 kB / 1.024 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.997, allocations: 7.938 kB / 1.024 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.997, allocations: 0 / 1.024 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.997, allocations: 0 / 1.024 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.549e-05/0.9971, allocations: 153.6 kB / 1.025 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.9972, allocations: 3.953 kB / 1.025 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.9972, allocations: 7.938 kB / 1.025 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.9972, allocations: 0 / 1.025 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.9972, allocations: 0 / 1.025 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9972, allocations: 0 / 1.025 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.9972, allocations: 0 / 1.025 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.666e-05/0.9973, allocations: 64.06 kB / 1.025 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.9974, allocations: 81.06 kB / 1.025 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.9974, allocations: 3.938 kB / 1.025 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-06/0.9974, allocations: 0 / 1.025 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-06/0.9974, allocations: 0 / 1.025 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.9974, allocations: 0 / 1.025 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.894e-05/0.9975, allocations: 75.28 kB / 1.025 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9975, allocations: 4 kB / 1.025 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002024/0.9977, allocations: 4.031 kB / 1.025 GB, free: 1.227 MB / 0.6355 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 () * 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.0001093/0.9978, allocations: 93.12 kB / 1.025 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.05e-05/0.9979, allocations: 7.938 kB / 1.025 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9979, allocations: 0 / 1.025 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.926e-06/0.9979, allocations: 2.75 kB / 1.025 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.998, allocations: 5.406 kB / 1.025 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001517/0.9982, allocations: 53.61 kB / 1.025 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.9984, allocations: 0.6692 MB / 1.026 GB, free: 356 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.534e-05/0.9985, allocations: 7.938 kB / 1.026 GB, free: 348 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.9985, allocations: 11.44 kB / 1.026 GB, free: 336 kB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.9985, allocations: 0 / 1.026 GB, free: 336 kB / 0.6355 GB Notification: Performance of Templates: time 0.002085/1.001, allocations: 163.7 kB / 1.026 GB, free: 184 kB / 0.6355 GB