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.701/2.701, allocations: 287.3 MB / 302.3 MB, free: 8.379 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.001586/0.001585, allocations: 193.2 kB / 370.8 MB, free: 10.84 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.115/2.115, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001083/0.001083, allocations: 87.42 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004764, allocations: 13.53 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2108, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0009729/0.2118, allocations: 478.4 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.2133, allocations: 1.107 MB / 0.9798 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.2134, allocations: 4 kB / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.2135, allocations: 3.938 kB / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.838e-05/0.2136, allocations: 7.984 kB / 0.9798 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.2142, allocations: 125.9 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.2143, allocations: 63.91 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.2144, allocations: 15.98 kB / 0.98 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.399e-05/0.2145, allocations: 39.91 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.2146, allocations: 39.88 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.2146, allocations: 4 kB / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.342e-05/0.2147, allocations: 15.94 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.2147, allocations: 11.98 kB / 0.9801 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.2148, allocations: 33.7 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.2149, allocations: 80.03 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.215, allocations: 4 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.215, allocations: 4 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.215, allocations: 0 / 0.9803 GB, free: 26.22 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.0005576/0.2155, allocations: 396.8 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.2156, allocations: 16.02 kB / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.2156, allocations: 38.55 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.2157, allocations: 8 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.915e-05/0.2158, allocations: 170.9 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.2158, allocations: 8 kB / 0.9809 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.2159, allocations: 12 kB / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.2161, allocations: 69.66 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2162, allocations: 0 / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2162, allocations: 0 / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2162, allocations: 0 / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.2165, allocations: 63.89 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.2171, allocations: 336.7 kB / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.2173, allocations: 66.55 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.2174, allocations: 4 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.2177, allocations: 103.4 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.2177, allocations: 0 / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000645/0.2183, allocations: 157.5 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.2184, allocations: 63.42 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/0.2185, allocations: 121.8 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.2185, allocations: 29.7 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.2186, allocations: 96.12 kB / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.2186, allocations: 7.812 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.2187, allocations: 8 kB / 0.982 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.406e-05/0.2187, allocations: 318.8 kB / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.219, allocations: 55.97 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.2193, allocations: 88.25 kB / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.2195, allocations: 89.67 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2195, allocations: 3.938 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006483/0.2202, allocations: 223.2 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.2203, allocations: 29.7 kB / 0.9827 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2203, allocations: 4 kB / 0.9827 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.2203, allocations: 3.984 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.2204, allocations: 15.94 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2205, allocations: 7.891 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.2209, allocations: 59.83 kB / 0.9828 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.2209, allocations: 11.98 kB / 0.9828 GB, free: 23.32 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.0001078/0.221, allocations: 117.8 kB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.2211, allocations: 4 kB / 0.9829 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.2211, allocations: 12.38 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2212, allocations: 0 / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.2212, allocations: 3.984 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2212, allocations: 3.953 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.2218, allocations: 394.4 kB / 0.9833 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2218, allocations: 0 / 0.9833 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.2219, allocations: 11.98 kB / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.222, allocations: 4 kB / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.222, allocations: 0 / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.222, allocations: 3.953 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.222, allocations: 0 / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.2224, allocations: 227.3 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.2225, allocations: 81.09 kB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.2225, allocations: 4 kB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2227, allocations: 11.98 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.2227, allocations: 7.953 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.2227, allocations: 11.98 kB / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.2228, allocations: 87.28 kB / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2228, allocations: 0 / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003698/0.2232, allocations: 23.91 kB / 0.9838 GB, free: 22.23 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.0006816/0.2239, allocations: 0.753 MB / 0.9845 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005639/0.2245, allocations: 191.2 kB / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2245, allocations: 0 / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.2247, allocations: 48.03 kB / 0.9848 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.225, allocations: 21.97 kB / 0.9848 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000789/0.2258, allocations: 1.011 MB / 0.9858 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.2259, allocations: 0.6887 MB / 0.9864 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.14e-05/0.226, allocations: 8 kB / 0.9865 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.2261, allocations: 23.42 kB / 0.9865 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of SimCode: time 9.51e-07/0.2261, allocations: 0 / 0.9865 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.2505, allocations: 2.211 MB / 0.9886 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/0.2508, allocations: 184 kB / 0.9888 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/2.633, allocations: 0 / 0.9888 GB, free: 17.08 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)