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.0009777/0.0009778, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009705/0.0009705, allocations: 190.6 kB / 16.14 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.208/1.208, allocations: 205.1 MB / 222 MB, free: 4.734 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.314/1.314, allocations: 251.6 MB / 0.5088 GB, free: 3.328 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.001288/0.001288, allocations: 63.91 kB / 0.6215 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4086, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001613/0.4102, allocations: 0.6568 MB / 0.7244 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 3.634e-05/0.4103, allocations: 7.922 kB / 0.7244 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.764e-05/0.4103, allocations: 4 kB / 0.7244 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.4103, allocations: 4 kB / 0.7245 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.489e-06/0.4103, allocations: 0 / 0.7245 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.409e-05/0.4104, allocations: 4 kB / 0.7245 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.517e-05/0.4104, allocations: 3.984 kB / 0.7245 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.4105, allocations: 0 / 0.7245 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.182e-05/0.4105, allocations: 3.938 kB / 0.7245 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.526e-05/0.4105, allocations: 4 kB / 0.7245 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.4105, allocations: 0 / 0.7245 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.036e-06/0.4105, allocations: 0 / 0.7245 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.4105, allocations: 0 / 0.7245 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.4106, allocations: 0 / 0.7245 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 4.023e-05/0.4106, allocations: 8 kB / 0.7245 GB, free: 12.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.4106, allocations: 0 / 0.7245 GB, free: 12.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.32e-07/0.4106, allocations: 0 / 0.7245 GB, free: 12.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.4106, allocations: 0 / 0.7245 GB, free: 12.43 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.0002078/0.4108, allocations: 315.6 kB / 0.7248 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.4109, allocations: 8.031 kB / 0.7248 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.4109, allocations: 4.844 kB / 0.7248 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.137e-05/0.411, allocations: 164.4 kB / 0.7249 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.411, allocations: 384 / 0.7249 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-06/0.411, allocations: 384 / 0.7249 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.913e-05/0.4111, allocations: 34.2 kB / 0.725 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.4111, allocations: 192 / 0.725 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.4111, allocations: 3.938 kB / 0.725 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.4111, allocations: 4 kB / 0.725 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.243e-05/0.4111, allocations: 0 / 0.725 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.986e-05/0.4112, allocations: 149.7 kB / 0.7251 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.269e-05/0.4112, allocations: 21.47 kB / 0.7251 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.4113, allocations: 12.8 kB / 0.7252 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.4113, allocations: 7.875 kB / 0.7252 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.4113, allocations: 34.62 kB / 0.7252 GB, free: 11.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.4113, allocations: 0 / 0.7252 GB, free: 11.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 9.382e-05/0.4114, allocations: 37.64 kB / 0.7252 GB, free: 11.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.4114, allocations: 51.41 kB / 0.7253 GB, free: 11.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.774e-05/0.4115, allocations: 93.84 kB / 0.7254 GB, free: 11.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.4115, allocations: 25.83 kB / 0.7254 GB, free: 11.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 1.781e-05/0.4115, allocations: 84.14 kB / 0.7255 GB, free: 11.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.4115, allocations: 0 / 0.7255 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.4116, allocations: 13.72 kB / 0.7255 GB, free: 11.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.4116, allocations: 310.8 kB / 0.7258 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-06/0.4116, allocations: 0 / 0.7258 GB, free: 10.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-06/0.4117, allocations: 7.938 kB / 0.7258 GB, free: 10.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.856e-05/0.4117, allocations: 8.859 kB / 0.7258 GB, free: 10.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4117, allocations: 4.062 kB / 0.7258 GB, free: 10.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.151e-05/0.4117, allocations: 37.7 kB / 0.7258 GB, free: 10.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.4117, allocations: 4 kB / 0.7259 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4118, allocations: 3.984 kB / 0.7259 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.4118, allocations: 3.938 kB / 0.7259 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.4118, allocations: 3.984 kB / 0.7259 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4118, allocations: 4 kB / 0.7259 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-06/0.4118, allocations: 0 / 0.7259 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.4118, allocations: 0 / 0.7259 GB, free: 10.79 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 4.822e-05/0.4119, allocations: 111.8 kB / 0.726 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-06/0.4119, allocations: 0 / 0.726 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.231e-05/0.4119, allocations: 15 kB / 0.726 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.4119, allocations: 4 kB / 0.726 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.4119, allocations: 0 / 0.726 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.4119, allocations: 0 / 0.726 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.225e-05/0.412, allocations: 145.7 kB / 0.7261 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.412, allocations: 0 / 0.7261 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-06/0.412, allocations: 0 / 0.7261 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.412, allocations: 4 kB / 0.7261 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.412, allocations: 7.938 kB / 0.7261 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.412, allocations: 0 / 0.7261 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4121, allocations: 3.938 kB / 0.7261 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.065e-05/0.4121, allocations: 57.12 kB / 0.7262 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.4121, allocations: 81.11 kB / 0.7263 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-06/0.4121, allocations: 3.938 kB / 0.7263 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.68e-06/0.4122, allocations: 0 / 0.7263 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-06/0.4122, allocations: 32 / 0.7263 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.4122, allocations: 4 kB / 0.7263 GB, free: 10.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 1.923e-05/0.4122, allocations: 79.22 kB / 0.7264 GB, free: 10.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4122, allocations: 3.938 kB / 0.7264 GB, free: 10.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001629/0.4124, allocations: 0 / 0.7264 GB, free: 10.18 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 6.888e-05/0.4124, allocations: 95.25 kB / 0.7265 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.64e-05/0.4125, allocations: 7.984 kB / 0.7265 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4125, allocations: 0 / 0.7265 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.359e-06/0.4125, allocations: 4.062 kB / 0.7265 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.4126, allocations: 8 kB / 0.7265 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000144/0.4128, allocations: 74.67 kB / 0.7265 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.413, allocations: 0.6731 MB / 0.7272 GB, free: 9.258 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.172e-05/0.413, allocations: 0 / 0.7272 GB, free: 9.258 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/0.413, allocations: 7.438 kB / 0.7272 GB, free: 9.25 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.413, allocations: 0 / 0.7272 GB, free: 9.25 MB / 0.545 GB Notification: Performance of Templates: time 0.00149/0.4145, allocations: 165 kB / 0.7274 GB, free: 9.09 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)