Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001186/0.001186, allocations: 184.2 kB / 377.1 MB, free: 1.535 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.636/1.636, allocations: 205.4 MB / 0.6366 GB, free: 8.617 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008874/0.0008874, allocations: 88.86 kB / 0.7509 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005694/0.0005697, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3226, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8004/1.123, allocations: 139.3 MB / 1.125 GB, free: 35.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/1.123, allocations: 70.78 kB / 1.125 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005724/1.129, allocations: 2.122 MB / 1.127 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.054e-06/1.129, allocations: 0 / 1.127 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.635e-06/1.129, allocations: 0 / 1.127 GB, free: 33.77 MB / 0.7292 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.0004725/1.13, allocations: 412.8 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.13, allocations: 12.02 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/1.13, allocations: 42.12 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/1.13, allocations: 7.125 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.549e-05/1.13, allocations: 172.2 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/1.13, allocations: 11.94 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/1.13, allocations: 11.05 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/1.13, allocations: 72.62 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.13, allocations: 0.5156 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/1.13, allocations: 4.844 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.13, allocations: 4.562 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/1.13, allocations: 50.5 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/1.131, allocations: 338.4 kB / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/1.131, allocations: 69.56 kB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/1.131, allocations: 0 / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/1.131, allocations: 93.48 kB / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/1.131, allocations: 0 / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004105/1.132, allocations: 164.5 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/1.132, allocations: 55.97 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/1.132, allocations: 116.6 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/1.132, allocations: 29.7 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.505e-05/1.132, allocations: 92.05 kB / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/1.132, allocations: 11.81 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.301e-05/1.132, allocations: 12 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.212e-05/1.132, allocations: 319.3 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/1.132, allocations: 54.5 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/1.132, allocations: 91.58 kB / 1.129 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/1.132, allocations: 80.73 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.132, allocations: 7.938 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003842/1.133, allocations: 219.5 kB / 1.129 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/1.133, allocations: 37.17 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/1.133, allocations: 0 / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.133, allocations: 4 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.593e-05/1.133, allocations: 28.73 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.133, allocations: 0.7031 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/1.133, allocations: 50.33 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/1.133, allocations: 12.45 kB / 1.129 GB, free: 31.11 MB / 0.7292 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 7.31e-05/1.133, allocations: 126.8 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/1.133, allocations: 7.906 kB / 1.129 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/1.133, allocations: 8.375 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/1.133, allocations: 0.5625 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.133, allocations: 0 / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.133, allocations: 0.6094 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/1.134, allocations: 395 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/1.134, allocations: 0 / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/1.134, allocations: 11.56 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.134, allocations: 0.6562 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/1.134, allocations: 0 / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/1.134, allocations: 4 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.134, allocations: 8.109 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/1.134, allocations: 218.4 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/1.134, allocations: 90.77 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/1.134, allocations: 0 / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/1.134, allocations: 12.41 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/1.134, allocations: 3.516 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/1.134, allocations: 8 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.326e-05/1.134, allocations: 95.53 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.134, allocations: 0 / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002594/1.135, allocations: 31.66 kB / 1.13 GB, free: 30.08 MB / 0.7292 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.0005249/1.135, allocations: 0.7564 MB / 1.131 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003447/1.136, allocations: 197.6 kB / 1.131 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.136, allocations: 0.8438 kB / 1.131 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/1.136, allocations: 47.09 kB / 1.131 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/1.136, allocations: 8.984 kB / 1.131 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/1.137, allocations: 1.009 MB / 1.132 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/1.137, allocations: 0.6951 MB / 1.133 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.659e-05/1.137, allocations: 7.094 kB / 1.133 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/1.137, allocations: 20.38 kB / 1.133 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/1.137, allocations: 0 / 1.133 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/1.151, allocations: 2.193 MB / 1.135 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/1.151, allocations: 182.6 kB / 1.135 GB, free: 25.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.778, allocations: 0 / 1.135 GB, free: 25.89 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)