Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.701/1.701, allocations: 288.4 MB / 303.3 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.00103, allocations: 173.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007994/0.0007993, allocations: 78.33 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003934, allocations: 10.66 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2318, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001715/0.2336, allocations: 1.129 MB / 0.9807 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007434/0.2344, allocations: 460.8 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.2345, allocations: 3.938 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.2345, allocations: 0 / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.933e-05/0.2346, allocations: 11.92 kB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.2348, allocations: 15.98 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.967e-05/0.2349, allocations: 39.86 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.235, allocations: 8 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.235, allocations: 27.84 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.36e-05/0.2351, allocations: 11.92 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.2351, allocations: 4 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.2351, allocations: 0 / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.2352, allocations: 11.98 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.2352, allocations: 37.58 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.394e-05/0.2353, allocations: 28.17 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2353, allocations: 4 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2353, allocations: 0 / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.2353, allocations: 4 kB / 0.9814 GB, free: 25.77 MB / 0.6198 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.0006252/0.236, allocations: 389.9 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.236, allocations: 12.02 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.2361, allocations: 34.56 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.2361, allocations: 7.906 kB / 0.9818 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.2362, allocations: 175 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2363, allocations: 0 / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.2363, allocations: 7.984 kB / 0.982 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.2364, allocations: 53.62 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2364, allocations: 0 / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2364, allocations: 3.984 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2365, allocations: 0 / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.174e-05/0.2365, allocations: 23.98 kB / 0.982 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.2369, allocations: 272.8 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.554e-05/0.237, allocations: 42.56 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.237, allocations: 20.98 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.2371, allocations: 3.938 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.2372, allocations: 101.1 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.2372, allocations: 0 / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002569/0.2375, allocations: 143.4 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.2376, allocations: 85.06 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.581e-05/0.2376, allocations: 113.8 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.2376, allocations: 29.7 kB / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.2377, allocations: 84.14 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.2377, allocations: 19.75 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.2377, allocations: 0 / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.2378, allocations: 322.8 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.2378, allocations: 16.28 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.2378, allocations: 42.5 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.639e-05/0.2379, allocations: 49.62 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2379, allocations: 4 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001293/0.238, allocations: 123.2 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.2381, allocations: 31.58 kB / 0.9835 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2381, allocations: 4 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2381, allocations: 8 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.724e-05/0.2382, allocations: 4 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.2382, allocations: 7.938 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.084e-05/0.2383, allocations: 12 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.2383, allocations: 4 kB / 0.9835 GB, free: 23.29 MB / 0.6198 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 7.309e-05/0.2384, allocations: 143.5 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.2384, allocations: 7.906 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.2384, allocations: 16.38 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2384, allocations: 0 / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2384, allocations: 0 / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2384, allocations: 7.891 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.2387, allocations: 388.3 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2387, allocations: 3.938 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.2388, allocations: 0 / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2388, allocations: 7.984 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2388, allocations: 4.062 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2388, allocations: 3.953 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2388, allocations: 4 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.239, allocations: 233.1 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.239, allocations: 81.11 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.239, allocations: 4 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2391, allocations: 11.98 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.2392, allocations: 11.94 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.2392, allocations: 8 kB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.2392, allocations: 83.38 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2392, allocations: 3.938 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002302/0.2395, allocations: 20 kB / 0.9845 GB, free: 22.15 MB / 0.6198 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.0003326/0.2398, allocations: 0.7609 MB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.24, allocations: 115.3 kB / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.24, allocations: 0 / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.361e-05/0.2401, allocations: 87.39 kB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.2403, allocations: 19.94 kB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.241, allocations: 0.4991 MB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2412, allocations: 0.6848 MB / 0.9866 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.396e-05/0.2412, allocations: 7.984 kB / 0.9866 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.2412, allocations: 23.42 kB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.2413, allocations: 4 kB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.2539, allocations: 1.603 MB / 0.9882 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.2541, allocations: 191.5 kB / 0.9884 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.043, allocations: 7.938 kB / 0.9884 GB, free: 18.11 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)