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.441/1.441, allocations: 251.9 MB / 266.9 MB, free: 11.08 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.001069/0.001069, allocations: 178.8 kB / 326.5 MB, free: 2.293 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.873/1.873, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.000975/0.0009749, allocations: 90.34 kB / 0.6821 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003919, allocations: 10 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2749, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001815/0.2767, allocations: 1.137 MB / 0.9012 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007997/0.2776, allocations: 468.5 kB / 0.9017 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.2776, allocations: 4 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.2776, allocations: 0 / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.889e-05/0.2778, allocations: 7.984 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.278, allocations: 15.92 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.278, allocations: 35.89 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.2782, allocations: 11.98 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.189e-05/0.2782, allocations: 19.91 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.2783, allocations: 19.92 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.2783, allocations: 0 / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.2784, allocations: 4 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.2784, allocations: 7.984 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.2784, allocations: 33.64 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.917e-05/0.2785, allocations: 23.95 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2785, allocations: 0 / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2785, allocations: 0 / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.2785, allocations: 0 / 0.9019 GB, free: 62.14 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.0006013/0.2792, allocations: 393.2 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.2792, allocations: 12.03 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.2792, allocations: 30.56 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.2793, allocations: 7.953 kB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.2794, allocations: 178.9 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2794, allocations: 7.984 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.2795, allocations: 4 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.2796, allocations: 49.62 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2796, allocations: 4 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2797, allocations: 0 / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2797, allocations: 0 / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.347e-05/0.2797, allocations: 15.98 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.2802, allocations: 276.9 kB / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.29e-05/0.2803, allocations: 38.56 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.2804, allocations: 0 / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.2806, allocations: 101.2 kB / 0.9029 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.2806, allocations: 0 / 0.9029 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002695/0.2808, allocations: 224.4 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.2809, allocations: 89.06 kB / 0.9032 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.978e-05/0.281, allocations: 109.8 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.281, allocations: 25.7 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.281, allocations: 92.08 kB / 0.9034 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.281, allocations: 15.81 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.2811, allocations: 0 / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.2811, allocations: 318.8 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.2811, allocations: 12 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.305e-05/0.2812, allocations: 42.56 kB / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.45e-05/0.2812, allocations: 45.7 kB / 0.9039 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2813, allocations: 384 / 0.9039 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001239/0.2814, allocations: 131.1 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.2814, allocations: 33.7 kB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2814, allocations: 400 / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2815, allocations: 3.938 kB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.2815, allocations: 8.062 kB / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2815, allocations: 12.02 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.2816, allocations: 11.98 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2816, allocations: 4 kB / 0.9041 GB, free: 59.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.035e-05/0.2817, allocations: 151.1 kB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.2817, allocations: 7.906 kB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.2817, allocations: 8.375 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2818, allocations: 0 / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2818, allocations: 4 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2818, allocations: 7.953 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.2821, allocations: 396.1 kB / 0.9046 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2821, allocations: 4 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-06/0.2821, allocations: 3.938 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2821, allocations: 3.984 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2821, allocations: 7.984 kB / 0.9046 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2821, allocations: 3.953 kB / 0.9046 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2821, allocations: 0 / 0.9046 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.2823, allocations: 237.1 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.2823, allocations: 81.02 kB / 0.9049 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.2824, allocations: 7.938 kB / 0.9049 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.2825, allocations: 7.984 kB / 0.9049 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.2825, allocations: 15.88 kB / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.2825, allocations: 8 kB / 0.905 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.943e-05/0.2826, allocations: 83.28 kB / 0.905 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2826, allocations: 4 kB / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002191/0.2828, allocations: 16 kB / 0.9051 GB, free: 58.44 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 (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.0003311/0.2831, allocations: 0.7626 MB / 0.9058 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.2833, allocations: 111.3 kB / 0.9059 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2833, allocations: 8.125 kB / 0.9059 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.2834, allocations: 87.39 kB / 0.906 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.2836, allocations: 23.98 kB / 0.906 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.2843, allocations: 0.7863 MB / 0.9068 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2845, allocations: 0.6926 MB / 0.9075 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.2845, allocations: 7.984 kB / 0.9075 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.2846, allocations: 11.44 kB / 0.9075 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2846, allocations: 4 kB / 0.9075 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.2966, allocations: 1.589 MB / 0.9091 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.2968, allocations: 182.2 kB / 0.9092 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/1.942, allocations: 0 / 0.9092 GB, free: 54.13 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)