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.468/1.468, allocations: 252 MB / 267.3 MB, free: 10.86 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.00108/0.00108, allocations: 167.4 kB / 327 MB, free: 2.125 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.151/2.151, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0009222/0.0009221, allocations: 86.36 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003593, allocations: 16.78 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2509, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001723/0.2526, allocations: 1.195 MB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004795/0.2532, allocations: 216.3 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.2533, allocations: 0 / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.2533, allocations: 3.938 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.2534, allocations: 7.938 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.2537, allocations: 23.97 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.2538, allocations: 59.78 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.2539, allocations: 19.98 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.719e-05/0.254, allocations: 19.88 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.2541, allocations: 27.84 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.2541, allocations: 0 / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.2542, allocations: 4 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.2542, allocations: 7.969 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.2543, allocations: 49.58 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.2544, allocations: 55.77 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2544, allocations: 0 / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2544, allocations: 0 / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.2544, allocations: 0 / 0.9026 GB, free: 61.7 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.0006853/0.2551, allocations: 372.7 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.858e-05/0.2552, allocations: 12.03 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.807e-05/0.2553, allocations: 34.73 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.2553, allocations: 8.844 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.2555, allocations: 184.2 kB / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.2555, allocations: 4.375 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.2555, allocations: 4.375 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.2558, allocations: 78.16 kB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2558, allocations: 3.938 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.2558, allocations: 4 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2558, allocations: 0 / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.2561, allocations: 59.95 kB / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.2567, allocations: 320.7 kB / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.2572, allocations: 118.5 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.2573, allocations: 40.98 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.2573, allocations: 0 / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.2576, allocations: 91.28 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/0.2576, allocations: 0 / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004213/0.258, allocations: 145.6 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2581, allocations: 51.41 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.824e-05/0.2582, allocations: 121.7 kB / 0.9042 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2582, allocations: 33.69 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.2583, allocations: 88.14 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.2583, allocations: 15.75 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.2583, allocations: 4 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.2584, allocations: 326.8 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.2585, allocations: 31.98 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.2586, allocations: 63.41 kB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.2588, allocations: 91.33 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2588, allocations: 0 / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002809/0.2591, allocations: 118.1 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.2592, allocations: 11.98 kB / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.2592, allocations: 0 / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.2592, allocations: 4.094 kB / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.002e-05/0.2593, allocations: 19.94 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2593, allocations: 7.984 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.2594, allocations: 19.92 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.2595, allocations: 3.938 kB / 0.905 GB, free: 59.01 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.2596, allocations: 121.8 kB / 0.9051 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.2596, allocations: 7.891 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.2596, allocations: 12.38 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2597, allocations: 0 / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2597, allocations: 0 / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2597, allocations: 0 / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.2602, allocations: 382.4 kB / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2602, allocations: 0 / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.2602, allocations: 11.98 kB / 0.9055 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2602, allocations: 0 / 0.9055 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.2603, allocations: 7.938 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2603, allocations: 3.938 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2603, allocations: 0 / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.2606, allocations: 211.3 kB / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.2606, allocations: 85.11 kB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.2606, allocations: 4 kB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2607, allocations: 27.92 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.2608, allocations: 7.984 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.2608, allocations: 0 / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.2609, allocations: 91.27 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2609, allocations: 0 / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002226/0.2611, allocations: 19.91 kB / 0.9059 GB, free: 57.93 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 (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.0004891/0.2616, allocations: 0.7441 MB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.2619, allocations: 87.88 kB / 0.9067 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2619, allocations: 0 / 0.9067 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.262, allocations: 39.98 kB / 0.9068 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.2623, allocations: 21.62 kB / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.2637, allocations: 1.524 MB / 0.9083 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.2639, allocations: 0.6887 MB / 0.9089 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.083e-05/0.2639, allocations: 15.8 kB / 0.9089 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.264, allocations: 15.44 kB / 0.909 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/0.264, allocations: 4 kB / 0.909 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/0.2758, allocations: 1.678 MB / 0.9106 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.276, allocations: 223 kB / 0.9108 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.979, allocations: 5.5 kB / 0.9108 GB, free: 52.87 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)