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.481/1.481, allocations: 249.3 MB / 261.8 MB, free: 5.887 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.001007/0.001007, allocations: 182.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0007992/0.0007992, allocations: 90.45 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.598e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2342, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8121/1.046, allocations: 131.7 MB / 1.021 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004013/1.047, allocations: 74.33 kB / 1.021 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003274/1.05, allocations: 0.9646 MB / 1.022 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/1.05, allocations: 4 kB / 1.022 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.705e-06/1.05, allocations: 0 / 1.022 GB, free: 2.035 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.0004695/1.051, allocations: 380.8 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.051, allocations: 8.031 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.859e-05/1.051, allocations: 42.38 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/1.051, allocations: 4 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/1.051, allocations: 170.9 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/1.051, allocations: 4 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/1.051, allocations: 11.8 kB / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/1.051, allocations: 62.48 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/1.051, allocations: 0 / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/1.051, allocations: 2.812 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/1.051, allocations: 0 / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/1.051, allocations: 21.75 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/1.052, allocations: 310.1 kB / 1.023 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/1.052, allocations: 108.8 kB / 1.023 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/1.052, allocations: 22.08 kB / 1.023 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/1.052, allocations: 6.625 kB / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/1.053, allocations: 64.7 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/1.053, allocations: 4 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001949/1.053, allocations: 87.84 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/1.053, allocations: 51.41 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/1.053, allocations: 102.9 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/1.053, allocations: 37.06 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/1.053, allocations: 88.05 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/1.053, allocations: 15 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/1.053, allocations: 0 / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.053, allocations: 326.6 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.593e-05/1.053, allocations: 14.56 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/1.053, allocations: 38.44 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.553e-05/1.053, allocations: 27.36 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.053, allocations: 0.5625 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001427/1.053, allocations: 90.75 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.054, allocations: 4 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.054, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/1.054, allocations: 4 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/1.054, allocations: 15.98 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.054, allocations: 11.83 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/1.054, allocations: 23.98 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/1.054, allocations: 4.625 kB / 1.024 GB, free: 15.82 MB / 0.6511 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 6.336e-05/1.054, allocations: 114.5 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/1.054, allocations: 0 / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/1.054, allocations: 19.36 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.054, allocations: 0 / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.054, allocations: 0 / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.054, allocations: 3.953 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/1.054, allocations: 343.8 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.054, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.106e-05/1.054, allocations: 15.8 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.054, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/1.054, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/1.054, allocations: 3.953 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.054, allocations: 160 / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/1.055, allocations: 178 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/1.055, allocations: 87.95 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/1.055, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/1.055, allocations: 15.98 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/1.055, allocations: 14.69 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/1.055, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.45e-05/1.055, allocations: 94.14 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.2e-07/1.055, allocations: 4 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002249/1.055, allocations: 15.12 kB / 1.025 GB, free: 14.88 MB / 0.6511 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.0004667/1.056, allocations: 0.7165 MB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001277/1.056, allocations: 49.06 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.056, allocations: 192 / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/1.056, allocations: 27.5 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/1.056, allocations: 15.84 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/1.057, allocations: 149.1 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/1.057, allocations: 0.6965 MB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.062e-05/1.057, allocations: 7.984 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/1.057, allocations: 18.31 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/1.057, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/1.07, allocations: 1.679 MB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.07, allocations: 174.2 kB / 1.028 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.608, allocations: 0 / 1.028 GB, free: 11.39 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)