Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009343/0.0009344, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009419/0.000942, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005131/0.0005131, allocations: 16.94 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2303, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001458/0.2318, allocations: 1.137 MB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006492/0.2324, allocations: 453.4 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.2325, allocations: 0 / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.2325, allocations: 0 / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.088e-05/0.2326, allocations: 11.91 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.2327, allocations: 19.97 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.534e-05/0.2328, allocations: 35.91 kB / 0.7888 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.888e-05/0.2329, allocations: 7.984 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.233, allocations: 19.92 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.987e-05/0.233, allocations: 19.91 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.233, allocations: 4 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.2331, allocations: 0 / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.2331, allocations: 4 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.2331, allocations: 37.64 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.996e-05/0.2332, allocations: 32.16 kB / 0.7889 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2332, allocations: 0 / 0.7889 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2332, allocations: 8 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.065e-06/0.2332, allocations: 0 / 0.789 GB, free: 10.08 MB / 0.6075 GB 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.0005115/0.2337, allocations: 384.9 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2338, allocations: 8.031 kB / 0.7893 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.2338, allocations: 30.56 kB / 0.7894 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.2338, allocations: 15.89 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.234, allocations: 167 kB / 0.7895 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.234, allocations: 4 kB / 0.7895 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.234, allocations: 4 kB / 0.7895 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.2341, allocations: 49.67 kB / 0.7896 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2341, allocations: 7.875 kB / 0.7896 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.2342, allocations: 4 kB / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2342, allocations: 0 / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.076e-05/0.2342, allocations: 19.94 kB / 0.7896 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.2346, allocations: 272.8 kB / 0.7899 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.185e-05/0.2347, allocations: 38.56 kB / 0.7899 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.2347, allocations: 4 kB / 0.7899 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.2349, allocations: 109.2 kB / 0.79 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.2349, allocations: 0 / 0.79 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002798/0.2352, allocations: 216.4 kB / 0.7902 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.2352, allocations: 81.11 kB / 0.7903 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.353e-05/0.2353, allocations: 117.7 kB / 0.7904 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.2354, allocations: 29.7 kB / 0.7904 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.2354, allocations: 88.12 kB / 0.7905 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.2354, allocations: 19.75 kB / 0.7905 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.2354, allocations: 0 / 0.7905 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2356, allocations: 318.8 kB / 0.7909 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/0.2356, allocations: 15.98 kB / 0.7909 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.233e-05/0.2356, allocations: 34.56 kB / 0.7909 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.957e-05/0.2357, allocations: 49.69 kB / 0.7909 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2357, allocations: 0 / 0.7909 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001538/0.2359, allocations: 127.2 kB / 0.7911 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.2359, allocations: 33.69 kB / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2359, allocations: 3.938 kB / 0.7911 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2359, allocations: 8.062 kB / 0.7911 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.89e-05/0.236, allocations: 4 kB / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.236, allocations: 0 / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.2361, allocations: 11.95 kB / 0.7911 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.2361, allocations: 4 kB / 0.7911 GB, free: 7.551 MB / 0.6075 GB 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.pulseStart,booleanPulse.pulseStart) * 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.918e-05/0.2362, allocations: 147.5 kB / 0.7913 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.2362, allocations: 7.906 kB / 0.7913 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.2362, allocations: 12.75 kB / 0.7913 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2362, allocations: 4 kB / 0.7913 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2362, allocations: 3.938 kB / 0.7913 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2363, allocations: 3.984 kB / 0.7913 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.2366, allocations: 408.2 kB / 0.7917 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2366, allocations: 0 / 0.7917 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-06/0.2367, allocations: 3.938 kB / 0.7917 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2367, allocations: 0 / 0.7917 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.2367, allocations: 4 kB / 0.7917 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2367, allocations: 480 / 0.7917 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2367, allocations: 7.953 kB / 0.7917 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.2369, allocations: 229.1 kB / 0.7919 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.237, allocations: 77.11 kB / 0.792 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.237, allocations: 11.98 kB / 0.792 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2371, allocations: 8 kB / 0.792 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.2371, allocations: 15.88 kB / 0.792 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.2372, allocations: 4 kB / 0.792 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.2372, allocations: 95.33 kB / 0.7921 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2372, allocations: 0 / 0.7921 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002273/0.2375, allocations: 16 kB / 0.7921 GB, free: 6.395 MB / 0.6075 GB 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.pulseStart) * 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.0004548/0.2379, allocations: 0.7641 MB / 0.7929 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.2381, allocations: 119.4 kB / 0.793 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.2381, allocations: 3.938 kB / 0.793 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.2382, allocations: 87.39 kB / 0.7931 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.2384, allocations: 16.05 kB / 0.7931 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.2392, allocations: 0.7899 MB / 0.7939 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.2395, allocations: 0.6887 MB / 0.7945 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.78e-05/0.2395, allocations: 11.78 kB / 0.7946 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.2395, allocations: 19.44 kB / 0.7946 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2395, allocations: 0 / 0.7946 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01107/0.2506, allocations: 1.562 MB / 0.7961 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.2508, allocations: 181.9 kB / 0.7963 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.133, allocations: 0 / 0.7963 GB, free: 2.078 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) Environment - environmentSimulation: