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.459/1.459, allocations: 252 MB / 267 MB, free: 10.98 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.001404/0.001404, allocations: 165.8 kB / 326.6 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0009571/0.0009571, allocations: 92.2 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 10.47 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2565, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001385/0.258, allocations: 1.187 MB / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003625/0.2583, allocations: 216.3 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.2584, allocations: 0 / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.2584, allocations: 0 / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.903e-05/0.2585, allocations: 19.84 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.2587, allocations: 19.98 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.149e-05/0.2588, allocations: 47.86 kB / 0.9018 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.2588, allocations: 15.98 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.767e-05/0.2589, allocations: 23.86 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.259, allocations: 23.91 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.259, allocations: 4 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.259, allocations: 7.938 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.259, allocations: 11.92 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.2591, allocations: 29.7 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.183e-05/0.2591, allocations: 35.91 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2591, allocations: 0 / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2592, allocations: 0 / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2592, allocations: 0 / 0.9019 GB, free: 62.17 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.0005272/0.2597, allocations: 383.5 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.2598, allocations: 8.031 kB / 0.9023 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.2598, allocations: 34.56 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.2598, allocations: 3.906 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.784e-05/0.2599, allocations: 178.9 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2599, allocations: 8 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.26, allocations: 8 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.2601, allocations: 65.67 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.2602, allocations: 0 / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2602, allocations: 11.97 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2602, allocations: 4 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.2604, allocations: 63.89 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.2608, allocations: 312.6 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.2612, allocations: 130.6 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.2613, allocations: 28.97 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.2614, allocations: 4 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.2616, allocations: 83.38 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.2616, allocations: 0 / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003993/0.262, allocations: 149.4 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.262, allocations: 55.41 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.2621, allocations: 118 kB / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2621, allocations: 29.7 kB / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.2622, allocations: 92.22 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.2622, allocations: 19.83 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.2622, allocations: 0 / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.782e-05/0.2623, allocations: 318.8 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.2624, allocations: 39.97 kB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2625, allocations: 55.41 kB / 0.904 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.965e-05/0.2626, allocations: 47.86 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2626, allocations: 0 / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002408/0.2629, allocations: 121.6 kB / 0.9042 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2629, allocations: 4 kB / 0.9042 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2629, allocations: 0 / 0.9042 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2629, allocations: 7.984 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.263, allocations: 19.95 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.263, allocations: 0 / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.304e-05/0.2631, allocations: 27.91 kB / 0.9042 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2631, allocations: 7.938 kB / 0.9042 GB, free: 59.54 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 7.771e-05/0.2632, allocations: 114.4 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.2632, allocations: 4 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.2633, allocations: 8.375 kB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2633, allocations: 0 / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2633, allocations: 3.953 kB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2633, allocations: 4 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.2637, allocations: 386.3 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2637, allocations: 0 / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.2638, allocations: 11.98 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2638, allocations: 4 kB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.2638, allocations: 3.953 kB / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2638, allocations: 0 / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2638, allocations: 0 / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.2641, allocations: 203.5 kB / 0.9049 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.2641, allocations: 88.95 kB / 0.905 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.2642, allocations: 0 / 0.905 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.2643, allocations: 23.94 kB / 0.9051 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.2643, allocations: 11.92 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.2643, allocations: 0 / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.379e-05/0.2644, allocations: 91.27 kB / 0.9052 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2644, allocations: 8 kB / 0.9052 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002603/0.2647, allocations: 12 kB / 0.9052 GB, free: 58.48 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.0004785/0.2651, allocations: 0.744 MB / 0.9059 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.2654, allocations: 87.92 kB / 0.906 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2654, allocations: 192 / 0.906 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.2655, allocations: 47.92 kB / 0.906 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.2658, allocations: 23.75 kB / 0.9061 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2669, allocations: 0.582 MB / 0.9066 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.267, allocations: 0.6887 MB / 0.9073 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.272e-05/0.2671, allocations: 15.84 kB / 0.9073 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.2671, allocations: 19.44 kB / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2672, allocations: 0 / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.2787, allocations: 1.673 MB / 0.909 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.2789, allocations: 201.1 kB / 0.9092 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/1.906, allocations: 4 kB / 0.9092 GB, free: 54.42 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)