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.4614/0.4621, allocations: 82.2 MB / 0.5935 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001859/0.464, allocations: 1.184 MB / 0.5946 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.4648, allocations: 467.3 kB / 0.5951 GB, free: 19.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.4649, allocations: 0 / 0.5951 GB, free: 19.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.4649, allocations: 3.984 kB / 0.5951 GB, free: 19.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.035e-05/0.465, allocations: 3.938 kB / 0.5951 GB, free: 19.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.4652, allocations: 20.98 kB / 0.5951 GB, free: 19.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.835e-05/0.4653, allocations: 43.86 kB / 0.5951 GB, free: 19.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.4654, allocations: 16.59 kB / 0.5951 GB, free: 19.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.416e-05/0.4655, allocations: 16.77 kB / 0.5952 GB, free: 19.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.4656, allocations: 15.92 kB / 0.5952 GB, free: 19.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.4656, allocations: 4 kB / 0.5952 GB, free: 19.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.4656, allocations: 0.7188 kB / 0.5952 GB, free: 19.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.4656, allocations: 10.94 kB / 0.5952 GB, free: 19.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.4657, allocations: 37.62 kB / 0.5952 GB, free: 19.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.255e-05/0.4658, allocations: 30.48 kB / 0.5952 GB, free: 19.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4658, allocations: 0 / 0.5952 GB, free: 19.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4658, allocations: 0 / 0.5952 GB, free: 19.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.4658, allocations: 0 / 0.5952 GB, free: 19.68 MB / 446.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.0004675/0.4663, allocations: 348.3 kB / 0.5956 GB, free: 19.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4663, allocations: 16.64 kB / 0.5956 GB, free: 19.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.4664, allocations: 3.906 kB / 0.5956 GB, free: 19.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.891e-05/0.4665, allocations: 172.9 kB / 0.5958 GB, free: 19.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.4665, allocations: 4 kB / 0.5958 GB, free: 19.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.4665, allocations: 7.953 kB / 0.5958 GB, free: 19.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.4666, allocations: 61.55 kB / 0.5958 GB, free: 18.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.4666, allocations: 0.625 kB / 0.5958 GB, free: 18.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.4667, allocations: 4 kB / 0.5958 GB, free: 18.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.4667, allocations: 5.906 kB / 0.5958 GB, free: 18.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.467e-05/0.4667, allocations: 19.98 kB / 0.5959 GB, free: 18.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.4672, allocations: 306.1 kB / 0.5962 GB, free: 18.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.495e-05/0.4673, allocations: 56.12 kB / 0.5962 GB, free: 18.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.4673, allocations: 24.94 kB / 0.5962 GB, free: 18.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.4674, allocations: 4.891 kB / 0.5962 GB, free: 18.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.4676, allocations: 76.48 kB / 0.5963 GB, free: 18.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.4676, allocations: 0 / 0.5963 GB, free: 18.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002182/0.4678, allocations: 103.3 kB / 0.5964 GB, free: 18.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.4678, allocations: 55.41 kB / 0.5965 GB, free: 18.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.568e-05/0.4679, allocations: 109.8 kB / 0.5966 GB, free: 18.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.4679, allocations: 30.3 kB / 0.5966 GB, free: 18.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.4679, allocations: 84.14 kB / 0.5967 GB, free: 18.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.468, allocations: 28.91 kB / 0.5967 GB, free: 18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-06/0.468, allocations: 0 / 0.5967 GB, free: 18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.468, allocations: 323.5 kB / 0.597 GB, free: 17.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/0.4681, allocations: 15.98 kB / 0.597 GB, free: 17.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/0.4681, allocations: 45.61 kB / 0.5971 GB, free: 17.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.4682, allocations: 23.94 kB / 0.5971 GB, free: 17.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.4682, allocations: 0.9375 kB / 0.5971 GB, free: 17.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001076/0.4683, allocations: 89.61 kB / 0.5972 GB, free: 17.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4683, allocations: 4.875 kB / 0.5972 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4683, allocations: 4 kB / 0.5972 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4683, allocations: 2.156 kB / 0.5972 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.4684, allocations: 8 kB / 0.5972 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4684, allocations: 3.938 kB / 0.5972 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.4685, allocations: 23.83 kB / 0.5972 GB, free: 17.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.4685, allocations: 7.938 kB / 0.5972 GB, free: 17.43 MB / 446.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 7.988e-05/0.4686, allocations: 120.2 kB / 0.5973 GB, free: 17.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.4686, allocations: 4 kB / 0.5974 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.4687, allocations: 8.875 kB / 0.5974 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4687, allocations: 0 / 0.5974 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4687, allocations: 1.719 kB / 0.5974 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4687, allocations: 3.984 kB / 0.5974 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.469, allocations: 362.9 kB / 0.5977 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.469, allocations: 0.5312 kB / 0.5977 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.469, allocations: 9.125 kB / 0.5977 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.469, allocations: 0 / 0.5977 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.469, allocations: 5.906 kB / 0.5977 GB, free: 16.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4691, allocations: 0 / 0.5977 GB, free: 16.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4691, allocations: 0 / 0.5977 GB, free: 16.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.4692, allocations: 184.2 kB / 0.5979 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.4692, allocations: 89.02 kB / 0.598 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.4692, allocations: 2.156 kB / 0.598 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.4693, allocations: 12.05 kB / 0.598 GB, free: 16.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.4694, allocations: 7.984 kB / 0.598 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.4694, allocations: 5.625 kB / 0.598 GB, free: 16.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.505e-05/0.4694, allocations: 87.27 kB / 0.5981 GB, free: 16.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4694, allocations: 0 / 0.5981 GB, free: 16.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.4697, allocations: 19.98 kB / 0.5981 GB, free: 16.44 MB / 446.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 8.25e-05/0.4697, allocations: 96.16 kB / 0.5982 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.4699, allocations: 51.92 kB / 0.5983 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4699, allocations: 0 / 0.5983 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.4699, allocations: 27.92 kB / 0.5983 GB, free: 16.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.4702, allocations: 20.08 kB / 0.5983 GB, free: 16.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.4706, allocations: 172.7 kB / 0.5985 GB, free: 16.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.4707, allocations: 0.6887 MB / 0.5991 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.963e-05/0.4707, allocations: 7.938 kB / 0.5991 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.4708, allocations: 11.44 kB / 0.5992 GB, free: 15.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4708, allocations: 0 / 0.5992 GB, free: 15.32 MB / 446.1 MB Notification: Performance of Templates: time 0.003147/0.4739, allocations: 0.662 MB / 0.5998 GB, free: 14.67 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: