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.205/1.205, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.0008314/0.0008314, allocations: 181.2 kB / 325.9 MB, free: 2.676 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.21/1.21, allocations: 205 MB / 0.576 GB, free: 21.02 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.0006515/0.0006515, allocations: 92.72 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002515, allocations: 5.875 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1289, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001087/0.13, allocations: 1.168 MB / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005178/0.1306, allocations: 489.1 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.1306, allocations: 3.938 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.1306, allocations: 3.984 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.857e-05/0.1307, allocations: 3.938 kB / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001065/0.1308, allocations: 23.92 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.167e-05/0.1309, allocations: 43.86 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.448e-05/0.1309, allocations: 7.984 kB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.131, allocations: 23.91 kB / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.131, allocations: 19.92 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1311, allocations: 4 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.1311, allocations: 0 / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.1311, allocations: 11.92 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.1311, allocations: 11.94 kB / 0.8979 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.026e-05/0.1312, allocations: 39.81 kB / 0.898 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1312, allocations: 3.984 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1312, allocations: 0 / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.896e-06/0.1312, allocations: 3.938 kB / 0.898 GB, free: 66.21 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.000374/0.1316, allocations: 393.1 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.1316, allocations: 16.02 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.295e-05/0.1317, allocations: 30.75 kB / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.179e-05/0.1317, allocations: 8.875 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.094e-05/0.1318, allocations: 168.3 kB / 0.8986 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1318, allocations: 384 / 0.8986 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.1318, allocations: 8.375 kB / 0.8986 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.309e-05/0.1319, allocations: 57.8 kB / 0.8986 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-06/0.1319, allocations: 0 / 0.8986 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.1319, allocations: 0 / 0.8986 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1319, allocations: 0 / 0.8986 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.129e-05/0.132, allocations: 27.92 kB / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.1322, allocations: 264.8 kB / 0.8989 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.644e-05/0.1323, allocations: 42.56 kB / 0.899 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.1323, allocations: 20.98 kB / 0.899 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.1323, allocations: 4 kB / 0.899 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.1325, allocations: 105.1 kB / 0.8991 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1325, allocations: 0 / 0.8991 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0001843/0.1327, allocations: 139.2 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.1327, allocations: 81.11 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.565e-05/0.1327, allocations: 121.8 kB / 0.8994 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.1328, allocations: 25.7 kB / 0.8994 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.01e-05/0.1328, allocations: 84.14 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.1328, allocations: 19.72 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.1328, allocations: 21.7 kB / 0.8996 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.197e-05/0.1329, allocations: 318.8 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.1329, allocations: 15.98 kB / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.022e-05/0.1329, allocations: 38.56 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.076e-05/0.133, allocations: 114.7 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.133, allocations: 4 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000104/0.1331, allocations: 127.3 kB / 0.9001 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1331, allocations: 33.7 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.1331, allocations: 3.938 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.1332, allocations: 0 / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.191e-05/0.1332, allocations: 8.062 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1332, allocations: 0 / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.642e-05/0.1333, allocations: 19.83 kB / 0.9002 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1333, allocations: 8.062 kB / 0.9002 GB, free: 63.63 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 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * 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 5.56e-05/0.1333, allocations: 156.1 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.1333, allocations: 4 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.1334, allocations: 8.359 kB / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1334, allocations: 0 / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1334, allocations: 4 kB / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1334, allocations: 0 / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.1336, allocations: 404 kB / 0.9008 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1336, allocations: 0 / 0.9008 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-06/0.1337, allocations: 8 kB / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1337, allocations: 3.984 kB / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1337, allocations: 0 / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1337, allocations: 0 / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1337, allocations: 7.938 kB / 0.9008 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.1338, allocations: 229.2 kB / 0.901 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.1338, allocations: 88.95 kB / 0.9011 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.1339, allocations: 4 kB / 0.9011 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.134, allocations: 11.98 kB / 0.9011 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.134, allocations: 7.938 kB / 0.9011 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.134, allocations: 7.984 kB / 0.9011 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.166e-05/0.134, allocations: 91.28 kB / 0.9012 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.134, allocations: 0 / 0.9012 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001974/0.1342, allocations: 16 kB / 0.9012 GB, free: 62.48 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.0002426/0.1345, allocations: 0.7686 MB / 0.902 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.1346, allocations: 115.3 kB / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1346, allocations: 4.125 kB / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.96e-05/0.1347, allocations: 87.39 kB / 0.9022 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1349, allocations: 15.92 kB / 0.9022 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007362/0.1357, allocations: 1.424 MB / 0.9036 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.123e-05/0.1357, allocations: 0.6809 MB / 0.9042 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.1358, allocations: 7.984 kB / 0.9042 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.1358, allocations: 15.44 kB / 0.9043 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.1358, allocations: 0 / 0.9043 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.655/1.791, allocations: 1.617 MB / 0.9058 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/1.791, allocations: 212.4 kB / 0.906 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/4.721, allocations: 0 / 0.906 GB, free: 57.46 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)