Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009847/0.0009847, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009486/0.0009486, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.183/1.183, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 251.7 MB / 0.5092 GB, free: 3.102 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 71.84 kB / 0.6223 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3862, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001678/0.3879, allocations: 0.592 MB / 0.7251 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 3.289e-05/0.388, allocations: 0 / 0.7251 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.381e-05/0.388, allocations: 0 / 0.7251 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.388, allocations: 0 / 0.7251 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.837e-06/0.388, allocations: 4 kB / 0.7251 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 2.833e-05/0.3881, allocations: 0 / 0.7251 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.951e-05/0.3881, allocations: 4 kB / 0.7251 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.3882, allocations: 15.91 kB / 0.7251 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-06/0.3882, allocations: 3.938 kB / 0.7251 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.489e-05/0.3882, allocations: 0 / 0.7251 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.3882, allocations: 0 / 0.7251 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.916e-06/0.3882, allocations: 0 / 0.7251 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.3882, allocations: 0 / 0.7251 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.3883, allocations: 4 kB / 0.7251 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 3.868e-05/0.3883, allocations: 0 / 0.7251 GB, free: 12.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3883, allocations: 8 kB / 0.7251 GB, free: 12.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3883, allocations: 0 / 0.7251 GB, free: 12.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.3883, allocations: 0 / 0.7251 GB, free: 12.3 MB / 0.545 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.000226/0.3885, allocations: 307.6 kB / 0.7254 GB, free: 11.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3886, allocations: 16.05 kB / 0.7254 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.3886, allocations: 4.844 kB / 0.7254 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.537e-05/0.3887, allocations: 160.4 kB / 0.7256 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.3887, allocations: 384 / 0.7256 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-06/0.3887, allocations: 384 / 0.7256 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.269e-05/0.3888, allocations: 34.27 kB / 0.7256 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.3888, allocations: 192 / 0.7256 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3888, allocations: 3.938 kB / 0.7256 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3888, allocations: 0 / 0.7256 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.629e-05/0.3888, allocations: 11.86 kB / 0.7256 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.389, allocations: 153.7 kB / 0.7258 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.091e-05/0.389, allocations: 14.58 kB / 0.7258 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.389, allocations: 12.86 kB / 0.7258 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.389, allocations: 4 kB / 0.7258 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.3891, allocations: 30.56 kB / 0.7258 GB, free: 11.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.3891, allocations: 0 / 0.7258 GB, free: 11.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 9.787e-05/0.3892, allocations: 41.58 kB / 0.7259 GB, free: 11.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.3892, allocations: 51.41 kB / 0.7259 GB, free: 11.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.461e-05/0.3892, allocations: 89.86 kB / 0.726 GB, free: 11.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.3893, allocations: 29.7 kB / 0.726 GB, free: 11.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.3893, allocations: 84.27 kB / 0.7261 GB, free: 11.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.3893, allocations: 3.984 kB / 0.7261 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.3894, allocations: 9.719 kB / 0.7261 GB, free: 11.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3895, allocations: 310.8 kB / 0.7264 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-06/0.3895, allocations: 4 kB / 0.7264 GB, free: 10.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-06/0.3895, allocations: 4 kB / 0.7264 GB, free: 10.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.916e-05/0.3895, allocations: 8.859 kB / 0.7265 GB, free: 10.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3895, allocations: 4.062 kB / 0.7265 GB, free: 10.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.195e-05/0.3896, allocations: 33.64 kB / 0.7265 GB, free: 10.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.3896, allocations: 4 kB / 0.7265 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.3896, allocations: 0 / 0.7265 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3896, allocations: 3.938 kB / 0.7265 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/0.3897, allocations: 7.984 kB / 0.7265 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.3897, allocations: 0 / 0.7265 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.055e-06/0.3897, allocations: 0 / 0.7265 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.3897, allocations: 0 / 0.7265 GB, free: 10.66 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.896e-05/0.3898, allocations: 115.8 kB / 0.7266 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.3898, allocations: 4 kB / 0.7266 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.359e-05/0.3898, allocations: 7.062 kB / 0.7266 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3898, allocations: 0 / 0.7266 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.3898, allocations: 0 / 0.7266 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.3898, allocations: 0 / 0.7266 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.638e-05/0.3899, allocations: 145.7 kB / 0.7268 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.3899, allocations: 0 / 0.7268 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-06/0.3899, allocations: 4 kB / 0.7268 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.3899, allocations: 0 / 0.7268 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3899, allocations: 3.938 kB / 0.7268 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3899, allocations: 8 kB / 0.7268 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3899, allocations: 3.938 kB / 0.7268 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.525e-05/0.39, allocations: 65.06 kB / 0.7268 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.39, allocations: 77.11 kB / 0.7269 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.3901, allocations: 7.875 kB / 0.7269 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-06/0.3901, allocations: 0 / 0.7269 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.3901, allocations: 0 / 0.7269 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.3901, allocations: 8.031 kB / 0.7269 GB, free: 10.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.461e-05/0.3901, allocations: 78.19 kB / 0.727 GB, free: 10.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3901, allocations: 0 / 0.727 GB, free: 10.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001595/0.3903, allocations: 0 / 0.727 GB, free: 10.05 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.847e-05/0.3904, allocations: 91.25 kB / 0.7271 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.301e-05/0.3904, allocations: 7.938 kB / 0.7271 GB, free: 9.945 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3904, allocations: 0 / 0.7271 GB, free: 9.945 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.248e-06/0.3905, allocations: 12.05 kB / 0.7271 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.3906, allocations: 6.094 kB / 0.7271 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001552/0.3907, allocations: 80.84 kB / 0.7272 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.391, allocations: 0.669 MB / 0.7279 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.208e-06/0.391, allocations: 0 / 0.7279 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.391, allocations: 7.438 kB / 0.7279 GB, free: 9.121 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.391, allocations: 0 / 0.7279 GB, free: 9.121 MB / 0.545 GB Notification: Performance of Templates: time 0.001542/0.3925, allocations: 168.8 kB / 0.728 GB, free: 8.957 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)