Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001433/0.001433, allocations: 196.2 kB / 16.14 MB, free: 6.719 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.376/1.376, allocations: 205.1 MB / 222 MB, free: 4.777 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.692/1.692, allocations: 292.3 MB / 0.5484 GB, free: 13.62 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.001456/0.001456, allocations: 76.06 kB / 0.6709 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2007, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001893/0.2026, allocations: 0.8358 MB / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.2039, allocations: 1.153 MB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.204, allocations: 3.938 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.204, allocations: 0 / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.826e-05/0.2041, allocations: 11.92 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.2045, allocations: 126 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.2046, allocations: 103.8 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.2047, allocations: 23.97 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.2048, allocations: 43.84 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.2048, allocations: 35.89 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.2049, allocations: 4 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-05/0.2049, allocations: 23.92 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.205, allocations: 15.92 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.205, allocations: 39.84 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.2052, allocations: 108 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2052, allocations: 4 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2052, allocations: 4 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.2052, allocations: 0 / 0.7853 GB, free: 11.38 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005302/0.2058, allocations: 413 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2058, allocations: 8.031 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.2058, allocations: 34.75 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.2059, allocations: 8.844 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.824e-05/0.206, allocations: 172.3 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.206, allocations: 8.375 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.206, allocations: 8.375 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.2062, allocations: 74.14 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2062, allocations: 3.938 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2063, allocations: 3.984 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2063, allocations: 7.938 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.2065, allocations: 43.95 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.2069, allocations: 336.7 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.2071, allocations: 62.55 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/0.2072, allocations: 32.95 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.2072, allocations: 4 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.2074, allocations: 83.36 kB / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.2074, allocations: 0 / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004075/0.2079, allocations: 149.8 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.2079, allocations: 51.41 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.208, allocations: 125.8 kB / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.208, allocations: 33.62 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.2081, allocations: 88.14 kB / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.2081, allocations: 15.81 kB / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.2082, allocations: 41.69 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.2083, allocations: 322.8 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.2084, allocations: 47.95 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.2086, allocations: 92.25 kB / 0.7874 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.2089, allocations: 149.9 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2089, allocations: 0 / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004155/0.2093, allocations: 207.2 kB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.2093, allocations: 37.7 kB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2093, allocations: 7.984 kB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2094, allocations: 0 / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.144e-05/0.2095, allocations: 16.06 kB / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.2095, allocations: 7.984 kB / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.2097, allocations: 31.91 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.2097, allocations: 11.98 kB / 0.7879 GB, free: 8.402 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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 8.822e-05/0.2098, allocations: 121.8 kB / 0.788 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.2098, allocations: 7.906 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.2099, allocations: 12.38 kB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2099, allocations: 4 kB / 0.788 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2099, allocations: 0 / 0.788 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2099, allocations: 3.984 kB / 0.788 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.2104, allocations: 374.3 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2104, allocations: 0 / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.2104, allocations: 11.98 kB / 0.7884 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2104, allocations: 4 kB / 0.7884 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2105, allocations: 4 kB / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2105, allocations: 0 / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2105, allocations: 15.86 kB / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.2107, allocations: 199.4 kB / 0.7886 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.2108, allocations: 84.95 kB / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.2108, allocations: 8 kB / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.2109, allocations: 11.98 kB / 0.7887 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.211, allocations: 7.938 kB / 0.7887 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.211, allocations: 3.984 kB / 0.7887 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.241e-05/0.211, allocations: 87.28 kB / 0.7888 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.211, allocations: 0 / 0.7888 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002554/0.2113, allocations: 24 kB / 0.7888 GB, free: 7.336 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 (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 (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.0005592/0.2119, allocations: 0.7552 MB / 0.7896 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003616/0.2122, allocations: 175.3 kB / 0.7897 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2122, allocations: 4.25 kB / 0.7897 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.2124, allocations: 39.97 kB / 0.7898 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.2126, allocations: 11.94 kB / 0.7898 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.2145, allocations: 1.708 MB / 0.7915 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.2147, allocations: 0.6923 MB / 0.7921 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.2147, allocations: 4 kB / 0.7921 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.2148, allocations: 23.42 kB / 0.7922 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2148, allocations: 0 / 0.7922 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01142/0.2262, allocations: 2.318 MB / 0.7944 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.2265, allocations: 208.6 kB / 0.7946 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/1.859, allocations: 4 kB / 0.7946 GB, free: 1.293 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)