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.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009408/0.0009407, allocations: 176.8 kB / 316.3 MB, free: 3.23 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.545/1.545, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0007943/0.0007942, allocations: 95.62 kB / 0.6714 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.405e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2269, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7377/0.9646, allocations: 132.1 MB / 1.014 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.9649, allocations: 73.77 kB / 1.014 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00302/0.968, allocations: 0.964 MB / 1.015 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.224e-06/0.968, allocations: 0 / 1.015 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.968, allocations: 0 / 1.015 GB, free: 4.375 MB / 0.6355 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.0006333/0.9687, allocations: 374.2 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.091e-05/0.9687, allocations: 8.031 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.9688, allocations: 11.94 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.9691, allocations: 182.8 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.9691, allocations: 0 / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.9691, allocations: 4 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001158/0.9693, allocations: 23.38 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.9694, allocations: 45.56 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.9694, allocations: 4 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.9694, allocations: 0 / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.9694, allocations: 0 / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/0.9701, allocations: 292 kB / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.9705, allocations: 98.33 kB / 1.016 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.9705, allocations: 16.67 kB / 1.016 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.9705, allocations: 3.984 kB / 1.016 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.9707, allocations: 67.22 kB / 1.016 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.9707, allocations: 2.734 kB / 1.016 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002065/0.9709, allocations: 73.42 kB / 1.016 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.971, allocations: 59.28 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.9711, allocations: 105.1 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.9711, allocations: 25.7 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.9712, allocations: 104 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.9712, allocations: 7.812 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.9712, allocations: 4 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.9714, allocations: 326.5 kB / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.9715, allocations: 15.75 kB / 1.017 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.715e-05/0.9715, allocations: 43.5 kB / 1.017 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.9716, allocations: 17.5 kB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9716, allocations: 4 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001247/0.9717, allocations: 80.92 kB / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.9717, allocations: 6.031 kB / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.9717, allocations: 0 / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.9718, allocations: 4 kB / 1.017 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.9719, allocations: 15.98 kB / 1.017 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.9719, allocations: 0 / 1.017 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.952e-05/0.972, allocations: 23.98 kB / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.972, allocations: 0 / 1.017 GB, free: 2.273 MB / 0.6355 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 () * 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 9.852e-05/0.9721, allocations: 112.9 kB / 1.017 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001035/0.9722, allocations: 68.69 kB / 1.017 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.9722, allocations: 7.906 kB / 1.017 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.9723, allocations: 12.44 kB / 1.017 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.9723, allocations: 4 kB / 1.017 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9723, allocations: 1.312 kB / 1.017 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.9723, allocations: 11.94 kB / 1.017 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.9727, allocations: 303 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9727, allocations: 0 / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/0.9727, allocations: 11.98 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.9727, allocations: 0 / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.9728, allocations: 4 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9728, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.9728, allocations: 4.828 kB / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.9729, allocations: 177.3 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.973, allocations: 85.02 kB / 1.018 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.973, allocations: 0 / 1.018 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.9731, allocations: 11.98 kB / 1.018 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.9732, allocations: 15.88 kB / 1.018 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.9732, allocations: 11.98 kB / 1.018 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.078e-05/0.9733, allocations: 90.84 kB / 1.018 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9733, allocations: 480 / 1.018 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002312/0.9735, allocations: 11.94 kB / 1.018 GB, free: 1.312 MB / 0.6355 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) * 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.000452/0.974, allocations: 0.7051 MB / 1.019 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.9741, allocations: 47.5 kB / 1.019 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9741, allocations: 4 kB / 1.019 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.921e-05/0.9742, allocations: 23.38 kB / 1.019 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.9744, allocations: 11.92 kB / 1.019 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.9749, allocations: 160.8 kB / 1.019 GB, free: 356 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.9752, allocations: 0.6885 MB / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.9753, allocations: 11.92 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.9753, allocations: 19.12 kB / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9753, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.9933, allocations: 1.341 MB / 1.021 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.9936, allocations: 165.4 kB / 1.021 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/2.463, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.6511 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)