Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.534/1.534, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 181.5 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008745/0.0008746, allocations: 86.31 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003795, allocations: 9.375 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2784, allocations: 106.4 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001594/0.2801, allocations: 1.149 MB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007089/0.2808, allocations: 479.5 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.2809, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.2809, allocations: 3.938 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.281, allocations: 11.94 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.2811, allocations: 19.97 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.545e-05/0.2812, allocations: 39.86 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.2813, allocations: 11.98 kB / 0.9026 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.519e-05/0.2814, allocations: 11.94 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.801e-05/0.2815, allocations: 19.92 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.2815, allocations: 3.938 kB / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.2815, allocations: 4 kB / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.2815, allocations: 11.92 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.2816, allocations: 49.61 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.2817, allocations: 35.83 kB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2817, allocations: 4 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2817, allocations: 0 / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2818, allocations: 4 kB / 0.9027 GB, free: 61.54 MB / 0.6042 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.000548/0.2823, allocations: 385.4 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2824, allocations: 8.031 kB / 0.9031 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.2824, allocations: 38.75 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.2824, allocations: 4.938 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.5e-05/0.2825, allocations: 180.2 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.2825, allocations: 384 / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.2826, allocations: 4.375 kB / 0.9033 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.2827, allocations: 57.75 kB / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2827, allocations: 0 / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2827, allocations: 0 / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2827, allocations: 0 / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.076e-05/0.2828, allocations: 19.98 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.2832, allocations: 276.8 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.517e-05/0.2832, allocations: 42.56 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.2833, allocations: 16.98 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.2833, allocations: 3.938 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.2835, allocations: 105.1 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.846e-06/0.2835, allocations: 3.984 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002413/0.2838, allocations: 143.2 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.2838, allocations: 77.11 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.885e-05/0.2839, allocations: 113.8 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.2839, allocations: 25.7 kB / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.2839, allocations: 92.2 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.284, allocations: 15.7 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.284, allocations: 8 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.456e-05/0.284, allocations: 318.8 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.2841, allocations: 19.98 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/0.2841, allocations: 34.56 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.685e-05/0.2842, allocations: 109.9 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2842, allocations: 3.938 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001248/0.2843, allocations: 131.3 kB / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.2844, allocations: 29.7 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2844, allocations: 4.062 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2844, allocations: 4.375 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.488e-05/0.2845, allocations: 0 / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2845, allocations: 7.938 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.2845, allocations: 11.89 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.2846, allocations: 11.94 kB / 0.9049 GB, free: 58.98 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.001e-05/0.2847, allocations: 154.4 kB / 0.9051 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.2847, allocations: 4 kB / 0.9051 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.2847, allocations: 8.359 kB / 0.9051 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2847, allocations: 4 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2847, allocations: 0 / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2847, allocations: 0 / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.285, allocations: 412 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.285, allocations: 0 / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-06/0.285, allocations: 4 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.2851, allocations: 0 / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2851, allocations: 4 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2851, allocations: 0 / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2851, allocations: 3.938 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.2852, allocations: 229.2 kB / 0.9057 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.2853, allocations: 81.02 kB / 0.9058 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.2853, allocations: 8 kB / 0.9058 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.964e-05/0.2854, allocations: 15.98 kB / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.2855, allocations: 11.92 kB / 0.9058 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.2855, allocations: 7.984 kB / 0.9058 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.986e-05/0.2855, allocations: 83.83 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2855, allocations: 0 / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002335/0.2858, allocations: 20 kB / 0.9059 GB, free: 57.84 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003536/0.2861, allocations: 0.7689 MB / 0.9067 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.2863, allocations: 111.3 kB / 0.9068 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2863, allocations: 0 / 0.9068 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.2864, allocations: 99.39 kB / 0.9069 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.2867, allocations: 15.92 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2877, allocations: 1.418 MB / 0.9083 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.2879, allocations: 0.6887 MB / 0.9089 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.2879, allocations: 4 kB / 0.909 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.288, allocations: 23.36 kB / 0.909 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.288, allocations: 0 / 0.909 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01221/0.3002, allocations: 1.607 MB / 0.9105 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.3004, allocations: 209.8 kB / 0.9107 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.281, allocations: 0 / 0.9107 GB, free: 52.8 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)