Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.649/1.649, allocations: 288.2 MB / 303.2 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001375/0.001375, allocations: 181.8 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000856/0.0008561, allocations: 101.4 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005286/0.0005288, allocations: 15.97 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2652, allocations: 115.3 MB / 0.9795 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8371/1.102, allocations: 138.4 MB / 1.115 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/1.103, allocations: 70.53 kB / 1.115 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006627/1.109, allocations: 2.117 MB / 1.117 GB, free: 31.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.535e-06/1.109, allocations: 0 / 1.117 GB, free: 31.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.117e-06/1.109, allocations: 0 / 1.117 GB, free: 31.98 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006193/1.11, allocations: 411.9 kB / 1.117 GB, free: 31.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.11, allocations: 11.8 kB / 1.117 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/1.11, allocations: 39.55 kB / 1.117 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/1.11, allocations: 7.781 kB / 1.117 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/1.11, allocations: 180 kB / 1.117 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/1.11, allocations: 7.25 kB / 1.117 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/1.11, allocations: 9.609 kB / 1.117 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/1.111, allocations: 67.86 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.111, allocations: 3.938 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/1.111, allocations: 0 / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/1.111, allocations: 7.781 kB / 1.117 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/1.111, allocations: 56.66 kB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/1.112, allocations: 339.7 kB / 1.118 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/1.112, allocations: 64.03 kB / 1.118 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/1.112, allocations: 0 / 1.118 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002849/1.112, allocations: 92.59 kB / 1.118 GB, free: 30.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/1.112, allocations: 3.938 kB / 1.118 GB, free: 30.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004763/1.113, allocations: 159.3 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/1.113, allocations: 55.22 kB / 1.118 GB, free: 30.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/1.113, allocations: 113.1 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/1.113, allocations: 28.95 kB / 1.118 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/1.113, allocations: 90.77 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/1.113, allocations: 17.48 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/1.113, allocations: 7.562 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.113, allocations: 320.9 kB / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/1.113, allocations: 55.5 kB / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/1.113, allocations: 96.23 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/1.114, allocations: 85.05 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.114, allocations: 0 / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004244/1.114, allocations: 218.4 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/1.114, allocations: 40.45 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/1.114, allocations: 3.969 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.114, allocations: 3.938 kB / 1.119 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/1.114, allocations: 18.11 kB / 1.119 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/1.114, allocations: 4.312 kB / 1.119 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/1.114, allocations: 53.53 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/1.114, allocations: 7.797 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001079/1.115, allocations: 132.2 kB / 1.119 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/1.115, allocations: 7.75 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/1.115, allocations: 7.5 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.115, allocations: 3.844 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.115, allocations: 0 / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.115, allocations: 3.094 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/1.115, allocations: 386 kB / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.115, allocations: 0 / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/1.115, allocations: 17.91 kB / 1.12 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.115, allocations: 7.891 kB / 1.12 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/1.115, allocations: 0 / 1.12 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.115, allocations: 0 / 1.12 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.115, allocations: 6.297 kB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/1.116, allocations: 216.3 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/1.116, allocations: 88.3 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/1.116, allocations: 6.625 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/1.116, allocations: 10.42 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/1.116, allocations: 6.469 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/1.116, allocations: 3.312 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.871e-05/1.116, allocations: 92.38 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.116, allocations: 0 / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002561/1.116, allocations: 33.39 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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 (8): * Single equations (assignments): 6 * 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.0006154/1.117, allocations: 0.7657 MB / 1.121 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003539/1.117, allocations: 184.8 kB / 1.121 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.117, allocations: 0 / 1.121 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/1.117, allocations: 51.86 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/1.117, allocations: 10.25 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008232/1.118, allocations: 1.003 MB / 1.122 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/1.119, allocations: 0.701 MB / 1.123 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.636e-05/1.119, allocations: 6.891 kB / 1.123 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/1.119, allocations: 17.62 kB / 1.123 GB, free: 26.89 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/1.119, allocations: 0 / 1.123 GB, free: 26.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/1.131, allocations: 2.205 MB / 1.125 GB, free: 26.68 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/1.132, allocations: 202.7 kB / 1.125 GB, free: 26.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.716, allocations: 0 / 1.125 GB, free: 26.43 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)