Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009414/0.0009415, allocations: 99.86 kB / 15.06 MB, free: 1.09 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.001956/0.001956, allocations: 177.3 kB / 15.94 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5831/0.5831, allocations: 95.59 MB / 366 MB, free: 10.35 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006389/0.0006391, allocations: 15.91 kB / 446.8 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2883, allocations: 70.33 MB / 0.505 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001225/0.2896, allocations: 1.165 MB / 0.5061 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000541/0.2901, allocations: 467.9 kB / 0.5066 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.2902, allocations: 0 / 0.5066 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.2902, allocations: 0 / 0.5066 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.733e-05/0.2903, allocations: 3.984 kB / 0.5066 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.2904, allocations: 19.92 kB / 0.5066 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.747e-05/0.2905, allocations: 27.97 kB / 0.5066 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.2906, allocations: 15.98 kB / 0.5066 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.2906, allocations: 19.92 kB / 0.5067 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.2907, allocations: 15.91 kB / 0.5067 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.2907, allocations: 4 kB / 0.5067 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.2907, allocations: 0 / 0.5067 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.2907, allocations: 8 kB / 0.5067 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.2908, allocations: 37.64 kB / 0.5067 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.552e-05/0.2908, allocations: 25.91 kB / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.2908, allocations: 0 / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2908, allocations: 4 kB / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.2908, allocations: 0 / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000385/0.2912, allocations: 351.2 kB / 0.5071 GB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.2913, allocations: 15.98 kB / 0.5071 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.2913, allocations: 3.906 kB / 0.5071 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.41e-05/0.2914, allocations: 175 kB / 0.5073 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2914, allocations: 7.953 kB / 0.5073 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.2914, allocations: 12 kB / 0.5073 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.12e-05/0.2915, allocations: 57.61 kB / 0.5074 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2916, allocations: 0 / 0.5074 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2916, allocations: 3.938 kB / 0.5074 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2916, allocations: 4 kB / 0.5074 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.2916, allocations: 19.98 kB / 0.5074 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.292, allocations: 312.6 kB / 0.5077 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.2921, allocations: 50.56 kB / 0.5077 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.2921, allocations: 3.984 kB / 0.5077 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.2923, allocations: 71.64 kB / 0.5078 GB, free: 13.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.2923, allocations: 0 / 0.5078 GB, free: 13.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001803/0.2925, allocations: 105.5 kB / 0.5079 GB, free: 13.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.2925, allocations: 55.41 kB / 0.508 GB, free: 13.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.2926, allocations: 101.8 kB / 0.508 GB, free: 13.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.2926, allocations: 33.7 kB / 0.5081 GB, free: 13.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.2926, allocations: 80.14 kB / 0.5082 GB, free: 13.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.2926, allocations: 27.69 kB / 0.5082 GB, free: 13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.2926, allocations: 4 kB / 0.5082 GB, free: 12.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.415e-05/0.2927, allocations: 318.8 kB / 0.5085 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.899e-05/0.2927, allocations: 23.98 kB / 0.5085 GB, free: 12.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.2928, allocations: 39.42 kB / 0.5086 GB, free: 12.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.2928, allocations: 20 kB / 0.5086 GB, free: 12.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2928, allocations: 0 / 0.5086 GB, free: 12.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001056/0.2929, allocations: 101.5 kB / 0.5087 GB, free: 12.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.293, allocations: 4 kB / 0.5087 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.293, allocations: 0 / 0.5087 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.293, allocations: 8.031 kB / 0.5087 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.293, allocations: 8 kB / 0.5087 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2931, allocations: 7.922 kB / 0.5087 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.2931, allocations: 11.94 kB / 0.5087 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.2931, allocations: 4.375 kB / 0.5087 GB, free: 12.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.782e-05/0.2932, allocations: 125.7 kB / 0.5088 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.2932, allocations: 4 kB / 0.5088 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.2932, allocations: 15.95 kB / 0.5088 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2933, allocations: 3.938 kB / 0.5089 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2933, allocations: 4.062 kB / 0.5089 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2933, allocations: 0 / 0.5089 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.2935, allocations: 358.4 kB / 0.5092 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2936, allocations: 4 kB / 0.5092 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.2936, allocations: 0 / 0.5092 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2936, allocations: 8 kB / 0.5092 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.2936, allocations: 0 / 0.5092 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2936, allocations: 0 / 0.5092 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2936, allocations: 3.984 kB / 0.5092 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.2937, allocations: 183.3 kB / 0.5094 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.2938, allocations: 81.11 kB / 0.5095 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2938, allocations: 4.266 kB / 0.5095 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.2939, allocations: 12 kB / 0.5095 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.2939, allocations: 11.92 kB / 0.5095 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.2939, allocations: 4 kB / 0.5095 GB, free: 11.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.285e-05/0.2939, allocations: 91.25 kB / 0.5096 GB, free: 11.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.294, allocations: 0 / 0.5096 GB, free: 11.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.2942, allocations: 12 kB / 0.5096 GB, free: 11.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.542e-05/0.2942, allocations: 95.25 kB / 0.5097 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.2944, allocations: 47.92 kB / 0.5097 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2944, allocations: 4.062 kB / 0.5097 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.365e-05/0.2944, allocations: 36.11 kB / 0.5098 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.2946, allocations: 8.141 kB / 0.5098 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.2949, allocations: 188.5 kB / 0.51 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.933e-05/0.295, allocations: 0.6848 MB / 0.5106 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.632e-05/0.2951, allocations: 11.94 kB / 0.5106 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.2951, allocations: 11.44 kB / 0.5106 GB, free: 10.28 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2951, allocations: 0 / 0.5106 GB, free: 10.28 MB / 382.1 MB Notification: Performance of Templates: time 0.002384/0.2975, allocations: 0.6587 MB / 0.5113 GB, free: 9.629 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: