Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 288.4 MB / 303.3 MB, free: 8.059 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.001047/0.001047, allocations: 184.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0007802/0.0007802, allocations: 98.86 kB / 0.7441 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006283/0.0006284, allocations: 13.03 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2212, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0008578/0.2221, allocations: 466.6 kB / 0.9801 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.2233, allocations: 1.138 MB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.2234, allocations: 0 / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.2234, allocations: 3.938 kB / 0.9812 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.839e-05/0.2235, allocations: 7.938 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.224, allocations: 110.2 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.2241, allocations: 99.73 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.2242, allocations: 11.98 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.48e-05/0.2244, allocations: 39.91 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.2245, allocations: 43.81 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.2245, allocations: 4 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.557e-05/0.2246, allocations: 19.98 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.2246, allocations: 4 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.2246, allocations: 45.64 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.2247, allocations: 76.09 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2248, allocations: 0 / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.766e-06/0.2248, allocations: 0 / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2248, allocations: 0 / 0.9817 GB, free: 25.48 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.0005061/0.2253, allocations: 404.8 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2253, allocations: 12.02 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.2254, allocations: 38.55 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.2254, allocations: 8 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.354e-05/0.2255, allocations: 170.9 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2255, allocations: 7.938 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.2256, allocations: 8 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.2258, allocations: 73.59 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2258, allocations: 3.984 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2258, allocations: 4 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2258, allocations: 4 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.226, allocations: 51.95 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.2264, allocations: 348.6 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.2266, allocations: 62.61 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.2267, allocations: 40.89 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.2267, allocations: 4 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.2269, allocations: 91.27 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.2269, allocations: 0 / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004017/0.2273, allocations: 153.6 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.2274, allocations: 59.36 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.168e-05/0.2275, allocations: 125.7 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.2275, allocations: 33.7 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.2275, allocations: 92.2 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.2275, allocations: 15.8 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.2276, allocations: 4 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.2276, allocations: 314.8 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.2278, allocations: 59.95 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.2279, allocations: 92.25 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2281, allocations: 93.61 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2281, allocations: 0 / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003929/0.2285, allocations: 207.2 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.2285, allocations: 41.81 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2285, allocations: 4 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2286, allocations: 0 / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.2287, allocations: 19.92 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2287, allocations: 7.938 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.2289, allocations: 63.75 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.2289, allocations: 4 kB / 0.9843 GB, free: 22.55 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 7.811e-05/0.229, allocations: 120.2 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.229, allocations: 7.984 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.2291, allocations: 12.38 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2291, allocations: 4 kB / 0.9844 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2291, allocations: 0 / 0.9844 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2291, allocations: 8 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.2295, allocations: 382.4 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2295, allocations: 0 / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.2295, allocations: 23.92 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2295, allocations: 4 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2296, allocations: 0 / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2296, allocations: 0 / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2296, allocations: 3.953 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.2298, allocations: 223.8 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.2298, allocations: 77.11 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.2299, allocations: 8 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.303e-05/0.23, allocations: 7.984 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.23, allocations: 11.94 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.23, allocations: 7.938 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.024e-05/0.2301, allocations: 99.75 kB / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2301, allocations: 0 / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000226/0.2303, allocations: 31.91 kB / 0.9853 GB, free: 21.44 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.0004264/0.2307, allocations: 0.7515 MB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.2311, allocations: 179.5 kB / 0.9862 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2311, allocations: 4.062 kB / 0.9862 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.2312, allocations: 55.89 kB / 0.9862 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.2314, allocations: 15.92 kB / 0.9862 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.2325, allocations: 0.6874 MB / 0.9869 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.2326, allocations: 0.6923 MB / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.432e-05/0.2327, allocations: 15.72 kB / 0.9876 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.2327, allocations: 23.42 kB / 0.9876 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of SimCode: time 3.2e-07/0.2327, allocations: 0 / 0.9876 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.2448, allocations: 2.227 MB / 0.9898 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.245, allocations: 203 kB / 0.99 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/1.925, allocations: 11.94 kB / 0.99 GB, free: 16.61 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)