Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.0008217/0.0008217, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.004721/0.004721, allocations: 171.8 kB / 16.27 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.628/1.628, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004888/0.0004888, allocations: 20.28 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2116, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.0009937/0.2126, allocations: 498 kB / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.2143, allocations: 1.146 MB / 0.7896 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.2144, allocations: 3.938 kB / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.2144, allocations: 0 / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.389e-05/0.2145, allocations: 11.88 kB / 0.7896 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.215, allocations: 119.3 kB / 0.7897 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.2151, allocations: 107.8 kB / 0.7898 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.2152, allocations: 23.97 kB / 0.7899 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2153, allocations: 39.91 kB / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.663e-05/0.2154, allocations: 35.83 kB / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.2154, allocations: 8 kB / 0.7899 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.638e-05/0.2155, allocations: 11.98 kB / 0.79 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.2155, allocations: 15.92 kB / 0.79 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.2156, allocations: 61.55 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.2158, allocations: 107.9 kB / 0.7901 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2158, allocations: 0 / 0.7901 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2158, allocations: 0 / 0.7901 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2158, allocations: 4 kB / 0.7901 GB, free: 9.266 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.000537/0.2164, allocations: 401 kB / 0.7905 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2164, allocations: 12.03 kB / 0.7905 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.2165, allocations: 34.73 kB / 0.7906 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.2165, allocations: 4.938 kB / 0.7906 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2166, allocations: 172.2 kB / 0.7907 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2166, allocations: 4.375 kB / 0.7907 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.2167, allocations: 16.31 kB / 0.7907 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.2169, allocations: 70.22 kB / 0.7908 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2169, allocations: 3.938 kB / 0.7908 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.2169, allocations: 4 kB / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2169, allocations: 0 / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.2171, allocations: 55.89 kB / 0.7909 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.2176, allocations: 340.6 kB / 0.7912 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.2178, allocations: 70.55 kB / 0.7913 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2179, allocations: 32.97 kB / 0.7913 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.2179, allocations: 4 kB / 0.7913 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.2181, allocations: 95.36 kB / 0.7914 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.2182, allocations: 0 / 0.7914 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004462/0.2186, allocations: 161.5 kB / 0.7915 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.2187, allocations: 55.41 kB / 0.7916 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.148e-05/0.2187, allocations: 113.8 kB / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.2188, allocations: 33.7 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.2188, allocations: 92.2 kB / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.2189, allocations: 15.8 kB / 0.7918 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.2189, allocations: 17.72 kB / 0.7919 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.219, allocations: 330.8 kB / 0.7922 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.2192, allocations: 59.95 kB / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.2194, allocations: 88.25 kB / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.2197, allocations: 162.1 kB / 0.7925 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2197, allocations: 0 / 0.7925 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004438/0.2201, allocations: 215.1 kB / 0.7927 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.2202, allocations: 41.83 kB / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2202, allocations: 0 / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2202, allocations: 4 kB / 0.7927 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.308e-05/0.2203, allocations: 11.98 kB / 0.7927 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2203, allocations: 7.938 kB / 0.7927 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.2206, allocations: 63.73 kB / 0.7928 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.2206, allocations: 7.984 kB / 0.7928 GB, free: 6.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.084e-05/0.2207, allocations: 121.8 kB / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.2207, allocations: 7.906 kB / 0.7929 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.2208, allocations: 8.375 kB / 0.7929 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2208, allocations: 4 kB / 0.7929 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.2208, allocations: 4.062 kB / 0.793 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2208, allocations: 4 kB / 0.793 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.2212, allocations: 386.4 kB / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2213, allocations: 0 / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.2213, allocations: 15.98 kB / 0.7933 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2213, allocations: 0 / 0.7933 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.2213, allocations: 4 kB / 0.7933 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.2214, allocations: 0 / 0.7933 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2214, allocations: 0 / 0.7933 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.2217, allocations: 227.3 kB / 0.7936 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.2217, allocations: 81.11 kB / 0.7936 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.2217, allocations: 7.969 kB / 0.7936 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/0.2218, allocations: 8 kB / 0.7937 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.2219, allocations: 11.92 kB / 0.7937 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2219, allocations: 4 kB / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.637e-05/0.2219, allocations: 95.27 kB / 0.7938 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2219, allocations: 0 / 0.7938 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002823/0.2222, allocations: 27.91 kB / 0.7938 GB, free: 5.133 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0006046/0.2228, allocations: 0.7476 MB / 0.7945 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.2232, allocations: 191.4 kB / 0.7947 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2232, allocations: 3.938 kB / 0.7947 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.2234, allocations: 35.98 kB / 0.7947 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.2236, allocations: 19.92 kB / 0.7948 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.2255, allocations: 1.735 MB / 0.7964 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.2257, allocations: 0.6923 MB / 0.7971 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.2258, allocations: 4 kB / 0.7971 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.2258, allocations: 23.42 kB / 0.7972 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2258, allocations: 0 / 0.7972 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0114/0.2372, allocations: 2.23 MB / 0.7993 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/0.2375, allocations: 204.5 kB / 0.7995 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.944, allocations: 0 / 0.7995 GB, free: 15.16 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)