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.001098/0.001098, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 189.7 kB / 16.62 MB, free: 6.613 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.394/1.394, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.705/1.705, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.002619/0.002619, allocations: 67.16 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2247, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002112/0.2269, allocations: 0.76 MB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.2286, allocations: 1.153 MB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.2287, allocations: 0 / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.2287, allocations: 3.938 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.449e-05/0.2288, allocations: 11.86 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.2294, allocations: 129.2 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.2296, allocations: 127.8 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2297, allocations: 12 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.2298, allocations: 47.89 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.615e-05/0.2299, allocations: 47.81 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.2299, allocations: 8 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.788e-05/0.23, allocations: 35.98 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.23, allocations: 7.938 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.709e-05/0.2301, allocations: 47.83 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.2303, allocations: 108 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2303, allocations: 0 / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.597e-06/0.2303, allocations: 0 / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.2303, allocations: 3.938 kB / 0.7861 GB, free: 10.72 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.0005389/0.2308, allocations: 412.9 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2309, allocations: 12.03 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.2309, allocations: 34.75 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.231, allocations: 12.78 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.2311, allocations: 172.3 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2311, allocations: 8.375 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.2311, allocations: 8.375 kB / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.2313, allocations: 70.16 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2313, allocations: 3.938 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.2313, allocations: 0 / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2313, allocations: 0 / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.2315, allocations: 51.88 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.232, allocations: 328.7 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.2322, allocations: 58.61 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.2323, allocations: 40.89 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.2323, allocations: 0 / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.2325, allocations: 91.34 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.2325, allocations: 0 / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004283/0.233, allocations: 145.6 kB / 0.7875 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.233, allocations: 55.34 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2331, allocations: 121.8 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.2332, allocations: 29.7 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.2332, allocations: 92.05 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.2333, allocations: 11.81 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.2334, allocations: 41.69 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2335, allocations: 322.8 kB / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.2337, allocations: 55.95 kB / 0.7882 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.2339, allocations: 88.25 kB / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.2341, allocations: 145.8 kB / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2341, allocations: 0 / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004071/0.2346, allocations: 211.1 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.2346, allocations: 46.75 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2346, allocations: 0 / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2346, allocations: 0 / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.2347, allocations: 11.98 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2348, allocations: 4 kB / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.235, allocations: 31.91 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.235, allocations: 11.98 kB / 0.7887 GB, free: 7.754 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 0.0001049/0.2351, allocations: 133.7 kB / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.2351, allocations: 7.906 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.2352, allocations: 8.375 kB / 0.7888 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2352, allocations: 4 kB / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2352, allocations: 0 / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2352, allocations: 0 / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.2356, allocations: 370.4 kB / 0.7892 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2356, allocations: 4 kB / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.2357, allocations: 11.98 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2357, allocations: 0 / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.2357, allocations: 0 / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.2357, allocations: 8 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2357, allocations: 0 / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.2361, allocations: 219.3 kB / 0.7894 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.2361, allocations: 85 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.2362, allocations: 3.938 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.043e-05/0.2362, allocations: 8 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.2363, allocations: 11.92 kB / 0.7895 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2363, allocations: 4 kB / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.213e-05/0.2364, allocations: 91.27 kB / 0.7896 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2364, allocations: 0 / 0.7896 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002577/0.2366, allocations: 24 kB / 0.7896 GB, free: 6.68 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.0005983/0.2372, allocations: 0.7527 MB / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003721/0.2376, allocations: 187.4 kB / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2376, allocations: 0 / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.2377, allocations: 35.92 kB / 0.7906 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.238, allocations: 15.92 kB / 0.7906 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.24, allocations: 1.695 MB / 0.7923 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.2403, allocations: 0.6923 MB / 0.7929 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.828e-05/0.2403, allocations: 7.984 kB / 0.7929 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.2404, allocations: 15.44 kB / 0.7929 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2404, allocations: 0 / 0.7929 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.2578, allocations: 2.523 MB / 0.7954 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.005, allocations: 7.266 kB / 0.7954 GB, free: 0.6758 MB / 0.6075 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)