Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.386/1.386, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001336, allocations: 182.6 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.232/2.232, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009049/0.0009049, allocations: 90.31 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004482, allocations: 11.16 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2614, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001587/0.263, allocations: 1.174 MB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004089/0.2634, allocations: 226.3 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.2635, allocations: 4 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.2635, allocations: 0 / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.05e-05/0.2636, allocations: 11.92 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.2638, allocations: 19.97 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.54e-05/0.2638, allocations: 35.95 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2639, allocations: 8 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.264, allocations: 23.86 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.2641, allocations: 23.89 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.2641, allocations: 4 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.2641, allocations: 0 / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.2641, allocations: 12 kB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.2642, allocations: 45.56 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.101e-05/0.2643, allocations: 31.92 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2643, allocations: 0 / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2643, allocations: 0 / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2643, allocations: 0 / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005057/0.2648, allocations: 383.4 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2648, allocations: 8.031 kB / 0.9021 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.2649, allocations: 34.56 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.2649, allocations: 7.906 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.044e-05/0.265, allocations: 178.9 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.265, allocations: 4 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.265, allocations: 4 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.2652, allocations: 77.66 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2653, allocations: 0 / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2653, allocations: 3.984 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.2653, allocations: 0 / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.2655, allocations: 59.89 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.266, allocations: 316.7 kB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.2665, allocations: 122.6 kB / 0.9029 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.2665, allocations: 8 kB / 0.9029 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.2667, allocations: 83.5 kB / 0.903 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.2668, allocations: 0 / 0.903 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004207/0.2672, allocations: 145.5 kB / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.2672, allocations: 59.39 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.2673, allocations: 125.9 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.2673, allocations: 29.7 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.2674, allocations: 88.23 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.2674, allocations: 19.84 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.2674, allocations: 0 / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.2675, allocations: 322.8 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.783e-05/0.2676, allocations: 35.97 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.2677, allocations: 59.41 kB / 0.9038 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.695e-05/0.2678, allocations: 31.98 kB / 0.9038 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2678, allocations: 0 / 0.9038 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002389/0.2681, allocations: 129.4 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2681, allocations: 5.719 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2681, allocations: 0 / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2681, allocations: 4 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.2682, allocations: 16.08 kB / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2682, allocations: 7.953 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.41e-05/0.2683, allocations: 23.83 kB / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.2683, allocations: 4 kB / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.041e-05/0.2684, allocations: 123.1 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.2684, allocations: 8 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.2685, allocations: 4.375 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2685, allocations: 4 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2685, allocations: 0 / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2685, allocations: 7.953 kB / 0.9042 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.2689, allocations: 378.7 kB / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2689, allocations: 4 kB / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.2689, allocations: 15.92 kB / 0.9045 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.2689, allocations: 0 / 0.9045 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.2689, allocations: 0 / 0.9045 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.269, allocations: 3.953 kB / 0.9045 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.269, allocations: 0 / 0.9045 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.2692, allocations: 203.5 kB / 0.9047 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.2692, allocations: 88.95 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.2693, allocations: 4 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.2694, allocations: 16.55 kB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.2695, allocations: 15.94 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.2695, allocations: 64 / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.2696, allocations: 95.2 kB / 0.9049 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.273e-06/0.2696, allocations: 0 / 0.9049 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002221/0.2698, allocations: 19.94 kB / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.0005118/0.2703, allocations: 0.7404 MB / 0.9057 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.2706, allocations: 87.89 kB / 0.9058 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2706, allocations: 0 / 0.9058 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.2707, allocations: 43.97 kB / 0.9058 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.2709, allocations: 19.81 kB / 0.9058 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.2721, allocations: 1.036 MB / 0.9068 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.2723, allocations: 0.6926 MB / 0.9075 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.011e-05/0.2723, allocations: 11.8 kB / 0.9075 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.2724, allocations: 15.44 kB / 0.9075 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2724, allocations: 0 / 0.9075 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0111/0.2835, allocations: 1.672 MB / 0.9092 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001284/0.2836, allocations: 199.5 kB / 0.9094 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/1.764, allocations: 3.938 kB / 0.9094 GB, free: 54.04 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)