Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7548/0.7548, allocations: 133.7 MB / 148.6 MB, free: 13.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001103/0.001102, allocations: 175 kB / 180.9 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.834/1.834, allocations: 170.7 MB / 383.7 MB, free: 16.14 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001716/0.001715, allocations: 114.3 kB / 454.6 MB, free: 9.727 MB / 346.7 MB [/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.1951/0.1956, allocations: 73.41 MB / 0.6812 GB, free: 5.594 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5643/0.76, allocations: 102.3 MB / 0.781 GB, free: 24.06 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/0.7604, allocations: 71.53 kB / 0.7811 GB, free: 24.03 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003994/0.7644, allocations: 1.154 MB / 0.7822 GB, free: 23.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.7644, allocations: 2.734 kB / 0.7822 GB, free: 23.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.7645, allocations: 0 / 0.7822 GB, free: 23.26 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005868/0.7651, allocations: 394.2 kB / 0.7826 GB, free: 22.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.7651, allocations: 12.56 kB / 0.7826 GB, free: 22.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.7652, allocations: 5.453 kB / 0.7826 GB, free: 22.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.7654, allocations: 179 kB / 0.7828 GB, free: 22.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.7654, allocations: 0 / 0.7828 GB, free: 22.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.7654, allocations: 5.359 kB / 0.7828 GB, free: 22.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.7656, allocations: 50.34 kB / 0.7829 GB, free: 22.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.7656, allocations: 0 / 0.7829 GB, free: 22.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.7656, allocations: 4.875 kB / 0.7829 GB, free: 22.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.7656, allocations: 0 / 0.7829 GB, free: 22.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.804e-05/0.7657, allocations: 24.11 kB / 0.7829 GB, free: 22.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.7662, allocations: 271.3 kB / 0.7832 GB, free: 22.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.724e-05/0.7663, allocations: 38.8 kB / 0.7832 GB, free: 22.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.7664, allocations: 8.562 kB / 0.7832 GB, free: 22.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.7666, allocations: 102.8 kB / 0.7833 GB, free: 22.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.7666, allocations: 0 / 0.7833 GB, free: 22.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003396/0.7669, allocations: 218.7 kB / 0.7835 GB, free: 21.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.767, allocations: 86.19 kB / 0.7836 GB, free: 21.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.756e-05/0.7671, allocations: 107.2 kB / 0.7837 GB, free: 21.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.7671, allocations: 33.08 kB / 0.7837 GB, free: 21.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.7671, allocations: 85.11 kB / 0.7838 GB, free: 21.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.7671, allocations: 20.22 kB / 0.7838 GB, free: 21.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.7672, allocations: 0 / 0.7838 GB, free: 21.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.7672, allocations: 323.4 kB / 0.7841 GB, free: 21.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.7673, allocations: 13.25 kB / 0.7841 GB, free: 21.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.7673, allocations: 36.12 kB / 0.7842 GB, free: 21.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.437e-05/0.7674, allocations: 49.19 kB / 0.7842 GB, free: 21.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7674, allocations: 0 / 0.7842 GB, free: 21.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001313/0.7675, allocations: 124.4 kB / 0.7843 GB, free: 21.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.7675, allocations: 38.08 kB / 0.7844 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7676, allocations: 0.9844 kB / 0.7844 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.7676, allocations: 4.062 kB / 0.7844 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.741e-05/0.7676, allocations: 5.859 kB / 0.7844 GB, free: 21.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.7676, allocations: 11.22 kB / 0.7844 GB, free: 21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/0.7677, allocations: 6.016 kB / 0.7844 GB, free: 21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.7677, allocations: 4 kB / 0.7844 GB, free: 21 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 9.121e-05/0.7678, allocations: 153.5 kB / 0.7846 GB, free: 20.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.7678, allocations: 11.86 kB / 0.7846 GB, free: 20.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.7679, allocations: 7.516 kB / 0.7846 GB, free: 20.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.7679, allocations: 8 kB / 0.7846 GB, free: 20.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.7679, allocations: 0.8125 kB / 0.7846 GB, free: 20.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.7679, allocations: 0.6562 kB / 0.7846 GB, free: 20.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.7682, allocations: 398.2 kB / 0.785 GB, free: 20.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7683, allocations: 5.031 kB / 0.785 GB, free: 20.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-06/0.7683, allocations: 0 / 0.785 GB, free: 20.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.7683, allocations: 0 / 0.785 GB, free: 20.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.7683, allocations: 2.703 kB / 0.785 GB, free: 20.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7683, allocations: 4.516 kB / 0.785 GB, free: 20.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7683, allocations: 0 / 0.785 GB, free: 20.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.7685, allocations: 231.4 kB / 0.7852 GB, free: 20.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.7685, allocations: 85.72 kB / 0.7853 GB, free: 20.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.7686, allocations: 4.438 kB / 0.7853 GB, free: 20.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.7687, allocations: 10.62 kB / 0.7853 GB, free: 20.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.7687, allocations: 11.08 kB / 0.7853 GB, free: 20.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.7688, allocations: 4.938 kB / 0.7853 GB, free: 20.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.937e-05/0.7688, allocations: 92.03 kB / 0.7854 GB, free: 19.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7688, allocations: 0 / 0.7854 GB, free: 19.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.7691, allocations: 15.25 kB / 0.7854 GB, free: 19.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulsStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 0.0001688/0.7692, allocations: 108.2 kB / 0.7855 GB, free: 19.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.7695, allocations: 110.6 kB / 0.7856 GB, free: 19.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7695, allocations: 0 / 0.7856 GB, free: 19.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.7696, allocations: 95.25 kB / 0.7857 GB, free: 19.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.7699, allocations: 14.97 kB / 0.7857 GB, free: 19.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.7704, allocations: 161 kB / 0.7859 GB, free: 19.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.7707, allocations: 0.6884 MB / 0.7865 GB, free: 18.81 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.1e-05/0.7707, allocations: 9.641 kB / 0.7866 GB, free: 18.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.7708, allocations: 15.38 kB / 0.7866 GB, free: 18.79 MB / 490.7 MB Notification: Performance of SimCode: time 6.62e-07/0.7708, allocations: 0 / 0.7866 GB, free: 18.79 MB / 490.7 MB Notification: Performance of Templates: time 0.00319/0.774, allocations: 0.7344 MB / 0.7873 GB, free: 18.36 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)