Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1964/0.1984, allocations: 80.84 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003689/0.2022, allocations: 1.471 MB / 0.672 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008841/0.2031, allocations: 487.6 kB / 0.6725 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.2031, allocations: 4 kB / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.2032, allocations: 3.938 kB / 0.6725 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.2033, allocations: 11.91 kB / 0.6725 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.2035, allocations: 15.98 kB / 0.6725 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.2037, allocations: 51.84 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.2039, allocations: 12 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.204, allocations: 23.91 kB / 0.6726 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.2041, allocations: 19.92 kB / 0.6726 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.2041, allocations: 4 kB / 0.6726 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.2041, allocations: 8 kB / 0.6726 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.2042, allocations: 11.92 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.761e-05/0.2043, allocations: 23.91 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.2044, allocations: 59.69 kB / 0.6727 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.2045, allocations: 0 / 0.6727 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.256e-06/0.2045, allocations: 0 / 0.6727 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.2045, allocations: 0 / 0.6727 GB, free: 15.81 MB / 0.5137 GB 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.0008024/0.2053, allocations: 359.4 kB / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.2054, allocations: 12.03 kB / 0.6731 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.2055, allocations: 8.844 kB / 0.6731 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.2057, allocations: 160.4 kB / 0.6733 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.2057, allocations: 8.375 kB / 0.6733 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.2057, allocations: 8.359 kB / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.206, allocations: 57.94 kB / 0.6733 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.206, allocations: 4 kB / 0.6733 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.206, allocations: 0 / 0.6733 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.206, allocations: 0 / 0.6733 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.2061, allocations: 23.98 kB / 0.6734 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.2067, allocations: 300.7 kB / 0.6736 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.2069, allocations: 54.56 kB / 0.6737 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.2069, allocations: 28.94 kB / 0.6737 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.207, allocations: 0 / 0.6737 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.2072, allocations: 83.34 kB / 0.6738 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.2072, allocations: 0 / 0.6738 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002876/0.2075, allocations: 93.62 kB / 0.6739 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.2077, allocations: 55.39 kB / 0.6739 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2078, allocations: 105.8 kB / 0.674 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.2078, allocations: 29.7 kB / 0.6741 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.2079, allocations: 88.12 kB / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.2079, allocations: 27.64 kB / 0.6742 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.208, allocations: 33.7 kB / 0.6742 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2082, allocations: 318.8 kB / 0.6745 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.052e-05/0.2082, allocations: 23.92 kB / 0.6745 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.958e-05/0.2083, allocations: 43.42 kB / 0.6746 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.587e-05/0.2084, allocations: 63.38 kB / 0.6746 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2084, allocations: 4 kB / 0.6746 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000146/0.2086, allocations: 97.72 kB / 0.6747 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.2086, allocations: 8 kB / 0.6747 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2086, allocations: 0 / 0.6747 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.2086, allocations: 0 / 0.6747 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.2087, allocations: 8 kB / 0.6748 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.2088, allocations: 11.97 kB / 0.6748 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.2088, allocations: 15.97 kB / 0.6748 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2088, allocations: 4 kB / 0.6748 GB, free: 13.46 MB / 0.5137 GB 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.209, allocations: 126.4 kB / 0.6749 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.209, allocations: 0 / 0.6749 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.209, allocations: 15.95 kB / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.209, allocations: 0 / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2091, allocations: 0 / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2091, allocations: 0 / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.2095, allocations: 358.7 kB / 0.6753 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2095, allocations: 4 kB / 0.6753 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.2096, allocations: 4.094 kB / 0.6753 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2096, allocations: 7.938 kB / 0.6753 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2096, allocations: 4 kB / 0.6753 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2096, allocations: 7.922 kB / 0.6753 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2096, allocations: 0 / 0.6753 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.2098, allocations: 171.5 kB / 0.6754 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.2099, allocations: 93 kB / 0.6755 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.2099, allocations: 0 / 0.6755 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.85e-05/0.21, allocations: 11.94 kB / 0.6755 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.2101, allocations: 7.984 kB / 0.6756 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2101, allocations: 7.938 kB / 0.6756 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.2101, allocations: 83.27 kB / 0.6756 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2101, allocations: 0 / 0.6756 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002276/0.2104, allocations: 16 kB / 0.6757 GB, free: 12.45 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001105/0.2105, allocations: 103.2 kB / 0.6758 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.2106, allocations: 55.92 kB / 0.6758 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2107, allocations: 0 / 0.6758 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.48e-05/0.2107, allocations: 23.98 kB / 0.6758 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.211, allocations: 17.81 kB / 0.6759 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.2115, allocations: 165.2 kB / 0.676 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.2118, allocations: 0.6846 MB / 0.6767 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.2119, allocations: 12.33 kB / 0.6767 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.2119, allocations: 11.44 kB / 0.6767 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.2119, allocations: 0 / 0.6767 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.003482/0.2154, allocations: 0.8122 MB / 0.6775 GB, free: 10.53 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)