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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8688/0.8688, allocations: 132.4 MB / 139.7 MB, free: 15.58 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.001172/0.001172, allocations: 172.9 kB / 171.6 MB, free: 1.953 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.406/1.406, allocations: 170.5 MB / 373.9 MB, free: 15.85 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.00168/0.00168, allocations: 113.1 kB / 444.4 MB, free: 9.391 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.5494/0.5494, allocations: 73.41 MB / 0.666 GB, free: 62.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.6951, allocations: 101.5 MB / 0.7651 GB, free: 2.773 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.6954, allocations: 76.59 kB / 0.7652 GB, free: 2.703 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003628/0.699, allocations: 0.8322 MB / 0.766 GB, free: 1.898 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.6991, allocations: 3.938 kB / 0.766 GB, free: 1.895 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.0005042/0.6996, allocations: 389 kB / 0.7663 GB, free: 1.469 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6996, allocations: 12.03 kB / 0.7664 GB, free: 1.457 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.6997, allocations: 5.844 kB / 0.7664 GB, free: 1.453 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.6999, allocations: 167 kB / 0.7665 GB, free: 1.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.6999, allocations: 0 / 0.7665 GB, free: 1.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.6999, allocations: 4 kB / 0.7665 GB, free: 1.246 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.221e-05/0.7, allocations: 16 kB / 0.7665 GB, free: 1.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.7001, allocations: 45.69 kB / 0.7666 GB, free: 1.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.7002, allocations: 3.984 kB / 0.7666 GB, free: 1.176 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.7002, allocations: 1.594 kB / 0.7666 GB, free: 1.176 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7002, allocations: 7.938 kB / 0.7666 GB, free: 1.168 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.7006, allocations: 245.4 kB / 0.7668 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.984e-05/0.7007, allocations: 38.56 kB / 0.7669 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.7008, allocations: 16.98 kB / 0.7669 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.7008, allocations: 4 kB / 0.7669 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.7009, allocations: 93.03 kB / 0.767 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 4.007e-06/0.7009, allocations: 0 / 0.767 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002203/0.7011, allocations: 78.23 kB / 0.7671 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.7012, allocations: 85.09 kB / 0.7671 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.858e-05/0.7013, allocations: 98.09 kB / 0.7672 GB, free: 440 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.7013, allocations: 25.7 kB / 0.7673 GB, free: 408 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.7014, allocations: 88.05 kB / 0.7673 GB, free: 316 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.7014, allocations: 19.8 kB / 0.7674 GB, free: 296 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.7015, allocations: 4 kB / 0.7674 GB, free: 292 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7016, allocations: 317.6 kB / 0.7677 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.173e-05/0.7016, allocations: 12 kB / 0.7677 GB, free: 15.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.449e-05/0.7017, allocations: 38.5 kB / 0.7677 GB, free: 15.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.84e-05/0.7017, allocations: 16.06 kB / 0.7677 GB, free: 15.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7018, allocations: 0.9375 kB / 0.7677 GB, free: 15.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001402/0.7019, allocations: 85.53 kB / 0.7678 GB, free: 15.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.7019, allocations: 4 kB / 0.7678 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.7019, allocations: 4 kB / 0.7678 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.702, allocations: 0 / 0.7678 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.702, allocations: 7.984 kB / 0.7678 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.702, allocations: 2.094 kB / 0.7678 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.7021, allocations: 8 kB / 0.7678 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.7021, allocations: 0 / 0.7678 GB, free: 15.78 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.0001098/0.7023, allocations: 153.2 kB / 0.768 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.7023, allocations: 4.938 kB / 0.768 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.7023, allocations: 8.281 kB / 0.768 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.7023, allocations: 0 / 0.768 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7023, allocations: 3.938 kB / 0.768 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.7024, allocations: 4 kB / 0.768 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.7027, allocations: 325.2 kB / 0.7683 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.7027, allocations: 1.438 kB / 0.7683 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.7027, allocations: 7.938 kB / 0.7683 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.7028, allocations: 3.938 kB / 0.7683 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.7028, allocations: 4 kB / 0.7683 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7028, allocations: 0 / 0.7683 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7028, allocations: 0 / 0.7683 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001712/0.703, allocations: 171.4 kB / 0.7685 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.703, allocations: 89.02 kB / 0.7686 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.7031, allocations: 0 / 0.7686 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.7032, allocations: 16.55 kB / 0.7686 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.7032, allocations: 11.92 kB / 0.7686 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.7033, allocations: 4 kB / 0.7686 GB, free: 14.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.26e-05/0.7033, allocations: 85.47 kB / 0.7687 GB, free: 14.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002355/0.7036, allocations: 12 kB / 0.7687 GB, free: 14.82 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.0001227/0.7037, allocations: 103.2 kB / 0.7688 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.7038, allocations: 81.52 kB / 0.7689 GB, free: 14.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7039, allocations: 0 / 0.7689 GB, free: 14.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.7039, allocations: 57.7 kB / 0.7689 GB, free: 14.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.7042, allocations: 22.17 kB / 0.769 GB, free: 14.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.7046, allocations: 95.64 kB / 0.769 GB, free: 14.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.705, allocations: 0.6998 MB / 0.7697 GB, free: 13.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.705, allocations: 4 kB / 0.7697 GB, free: 13.69 MB / 490.7 MB Notification: Performance of Templates: time 0.003166/0.7082, allocations: 0.7813 MB / 0.7705 GB, free: 12.96 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)