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.7518/0.7518, allocations: 132.4 MB / 139.9 MB, free: 15.39 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.001041/0.001041, allocations: 172 kB / 171.8 MB, free: 2.016 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.536/1.536, allocations: 170.6 MB / 374.2 MB, free: 15.76 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.001565/0.001565, allocations: 118 kB / 444.8 MB, free: 9.293 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.5615/0.5615, allocations: 73.4 MB / 0.6666 GB, free: 46.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.7403, allocations: 101.5 MB / 0.7657 GB, free: 3.305 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/0.7408, allocations: 68.84 kB / 0.7658 GB, free: 3.238 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004079/0.7449, allocations: 1.149 MB / 0.7669 GB, free: 2.113 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.588e-06/0.7449, allocations: 0 / 0.7669 GB, free: 2.113 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.745, allocations: 0 / 0.7669 GB, free: 2.113 MB / 474.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.0006384/0.7456, allocations: 377.4 kB / 0.7673 GB, free: 1.699 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.499e-05/0.7457, allocations: 12.03 kB / 0.7673 GB, free: 1.688 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.7458, allocations: 8.516 kB / 0.7673 GB, free: 1.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.746, allocations: 173.6 kB / 0.7675 GB, free: 1.477 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.746, allocations: 0 / 0.7675 GB, free: 1.477 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.746, allocations: 4 kB / 0.7675 GB, free: 1.473 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.831e-05/0.7461, allocations: 16 kB / 0.7675 GB, free: 1.457 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.7462, allocations: 47.19 kB / 0.7675 GB, free: 1.406 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.7463, allocations: 3.609 kB / 0.7675 GB, free: 1.406 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.7463, allocations: 0 / 0.7675 GB, free: 1.406 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.7463, allocations: 3.641 kB / 0.7676 GB, free: 1.406 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.7468, allocations: 249.4 kB / 0.7678 GB, free: 1.125 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.309e-05/0.7469, allocations: 42.56 kB / 0.7678 GB, free: 1.074 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.7469, allocations: 19.98 kB / 0.7679 GB, free: 1.055 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.7469, allocations: 1.766 kB / 0.7679 GB, free: 1.055 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.7471, allocations: 106.2 kB / 0.768 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.7472, allocations: 0 / 0.768 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002351/0.7474, allocations: 94.28 kB / 0.768 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.7475, allocations: 77.11 kB / 0.7681 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.625e-05/0.7476, allocations: 101 kB / 0.7682 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.7476, allocations: 29.7 kB / 0.7682 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.7477, allocations: 84.14 kB / 0.7683 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.7477, allocations: 20.28 kB / 0.7683 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.7477, allocations: 0 / 0.7683 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7478, allocations: 318.8 kB / 0.7686 GB, free: 180 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.7479, allocations: 16 kB / 0.7687 GB, free: 164 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.309e-05/0.7479, allocations: 31.23 kB / 0.7687 GB, free: 124 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.748, allocations: 24.75 kB / 0.7687 GB, free: 100 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.748, allocations: 0 / 0.7687 GB, free: 100 kB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001352/0.7481, allocations: 81.72 kB / 0.7688 GB, free: 12 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.755e-05/0.7482, allocations: 44.83 kB / 0.7688 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7482, allocations: 0 / 0.7688 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.7482, allocations: 3.938 kB / 0.7688 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.66e-05/0.7483, allocations: 7.984 kB / 0.7688 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.7483, allocations: 1.016 kB / 0.7688 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.7484, allocations: 8 kB / 0.7689 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.7484, allocations: 5.125 kB / 0.7689 GB, free: 15.94 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 () * 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 0.0001328/0.7485, allocations: 139.7 kB / 0.769 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.7486, allocations: 7.906 kB / 0.769 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.7486, allocations: 16.58 kB / 0.769 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.7486, allocations: 1.25 kB / 0.769 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7486, allocations: 0 / 0.769 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.7486, allocations: 0.6562 kB / 0.769 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.749, allocations: 336 kB / 0.7693 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.749, allocations: 0 / 0.7693 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.749, allocations: 4 kB / 0.7693 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.749, allocations: 7.953 kB / 0.7693 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.7491, allocations: 0 / 0.7693 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7491, allocations: 4.875 kB / 0.7694 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.7491, allocations: 0 / 0.7694 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.7493, allocations: 193.5 kB / 0.7695 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.7493, allocations: 86.7 kB / 0.7696 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.7494, allocations: 7.953 kB / 0.7696 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.821e-05/0.7495, allocations: 15.98 kB / 0.7696 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.7495, allocations: 7.984 kB / 0.7697 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.7495, allocations: 0 / 0.7697 GB, free: 15.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.826e-05/0.7496, allocations: 88.38 kB / 0.7697 GB, free: 14.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.134e-06/0.7496, allocations: 0 / 0.7697 GB, free: 14.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002153/0.7498, allocations: 15.94 kB / 0.7698 GB, free: 14.95 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) * 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.0001257/0.75, allocations: 104.5 kB / 0.7699 GB, free: 14.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.7501, allocations: 107.4 kB / 0.77 GB, free: 14.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7502, allocations: 8.062 kB / 0.77 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.817e-05/0.7503, allocations: 83.41 kB / 0.77 GB, free: 14.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.7505, allocations: 16.25 kB / 0.7701 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.7508, allocations: 96.97 kB / 0.7701 GB, free: 14.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.7511, allocations: 0.6885 MB / 0.7708 GB, free: 13.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.576e-05/0.7512, allocations: 7.984 kB / 0.7708 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.7512, allocations: 15.44 kB / 0.7708 GB, free: 13.75 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7512, allocations: 0 / 0.7708 GB, free: 13.75 MB / 490.7 MB Notification: Performance of Templates: time 0.003293/0.7545, allocations: 0.7062 MB / 0.7715 GB, free: 13.09 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)