Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.792/2.792, allocations: 287.5 MB / 302.4 MB, free: 8.332 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.001991/0.001991, allocations: 178.6 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0008637/0.0008636, allocations: 87.03 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005068, allocations: 12.62 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2111, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001076/0.2123, allocations: 474.4 kB / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2139, allocations: 1.134 MB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.214, allocations: 4 kB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.214, allocations: 3.938 kB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.119e-05/0.2141, allocations: 7.922 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.2147, allocations: 109.2 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.2148, allocations: 99.73 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.2149, allocations: 16 kB / 0.9803 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.021e-05/0.215, allocations: 35.91 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.366e-05/0.2151, allocations: 39.81 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.2152, allocations: 8 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.941e-05/0.2153, allocations: 19.98 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.2153, allocations: 7.984 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.2154, allocations: 37.64 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.2155, allocations: 80.09 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2155, allocations: 0 / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2155, allocations: 4 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2156, allocations: 0 / 0.9805 GB, free: 26.17 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006376/0.2162, allocations: 400.8 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.2163, allocations: 12.02 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.2163, allocations: 38.56 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.2164, allocations: 4 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2165, allocations: 174.9 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2165, allocations: 8 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.2166, allocations: 12 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.2169, allocations: 77.52 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2169, allocations: 7.938 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2169, allocations: 0 / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2169, allocations: 0 / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.2172, allocations: 59.95 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.2178, allocations: 336.7 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.2181, allocations: 66.55 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.2183, allocations: 36.97 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.2183, allocations: 3.984 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000324/0.2186, allocations: 91.28 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.956e-06/0.2186, allocations: 4 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0006827/0.2193, allocations: 161.5 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.2194, allocations: 59.47 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.325e-05/0.2195, allocations: 121.7 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.2195, allocations: 33.7 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.2196, allocations: 92.12 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.2196, allocations: 15.81 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.2197, allocations: 4 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.2197, allocations: 322.8 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.22, allocations: 51.97 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.2203, allocations: 92.25 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.2206, allocations: 85.61 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2206, allocations: 0 / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006843/0.2213, allocations: 219.2 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.2214, allocations: 41.69 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2214, allocations: 0 / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.2214, allocations: 4 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.2216, allocations: 24.05 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2216, allocations: 3.953 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.222, allocations: 51.88 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.222, allocations: 15.98 kB / 0.9831 GB, free: 23.22 MB / 0.6198 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.2222, allocations: 123.1 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.2222, allocations: 4 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.2223, allocations: 12.38 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2223, allocations: 3.938 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2223, allocations: 0 / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.2223, allocations: 7.938 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.223, allocations: 382.5 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.223, allocations: 3.984 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.2231, allocations: 8 kB / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.2231, allocations: 3.938 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2231, allocations: 3.984 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.2232, allocations: 15.89 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2232, allocations: 0 / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.2236, allocations: 215.4 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.2237, allocations: 85.11 kB / 0.9839 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.2237, allocations: 0 / 0.9839 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2238, allocations: 15.98 kB / 0.9839 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.2239, allocations: 11.94 kB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.2239, allocations: 0 / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.224, allocations: 87.28 kB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.224, allocations: 0 / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003882/0.2244, allocations: 35.89 kB / 0.9841 GB, free: 22.13 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: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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 (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.0007267/0.2251, allocations: 0.749 MB / 0.9848 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005975/0.2258, allocations: 199.3 kB / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2258, allocations: 0 / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.226, allocations: 48.16 kB / 0.985 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.2264, allocations: 19.88 kB / 0.9851 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.2282, allocations: 0.6855 MB / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.2284, allocations: 0.691 MB / 0.9864 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.966e-05/0.2284, allocations: 7.984 kB / 0.9864 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.2285, allocations: 23.38 kB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.2285, allocations: 0 / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.2545, allocations: 2.236 MB / 0.9886 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/0.2548, allocations: 199.8 kB / 0.9888 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/2.795, allocations: 0 / 0.9888 GB, free: 17.27 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)