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.654/1.654, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001044/0.001043, allocations: 172.9 kB / 366.7 MB, free: 1.656 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.739/1.739, allocations: 205.3 MB / 0.626 GB, free: 7.199 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.001168/0.001168, allocations: 92.42 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.727e-05, allocations: 8 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7783, allocations: 116.3 MB / 0.9734 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.212/0.9904, allocations: 138.6 MB / 1.109 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.9907, allocations: 71.95 kB / 1.109 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006245/0.9969, allocations: 2.093 MB / 1.111 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.61e-07/0.997, allocations: 1.312 kB / 1.111 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.997, allocations: 4 kB / 1.111 GB, free: 9.375 MB / 0.7136 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.0004661/0.9975, allocations: 401.3 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.9975, allocations: 12.03 kB / 1.111 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.9976, allocations: 11.91 kB / 1.111 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.9977, allocations: 174.4 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.9977, allocations: 2.469 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.9977, allocations: 8 kB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.852e-05/0.9978, allocations: 19.98 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.94e-05/0.9979, allocations: 53.62 kB / 1.111 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.9979, allocations: 0 / 1.111 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.998, allocations: 2.312 kB / 1.111 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.998, allocations: 1.094 kB / 1.111 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.9984, allocations: 311.2 kB / 1.112 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.7e-05/0.9985, allocations: 55.06 kB / 1.112 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.9986, allocations: 17.86 kB / 1.112 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.9986, allocations: 0 / 1.112 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.9987, allocations: 76.56 kB / 1.112 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.9988, allocations: 5.156 kB / 1.112 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001853/0.9989, allocations: 77.69 kB / 1.112 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.999, allocations: 51.48 kB / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.103e-05/0.9991, allocations: 112.9 kB / 1.112 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.9991, allocations: 33.7 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.9992, allocations: 96.06 kB / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.9992, allocations: 19.8 kB / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.9992, allocations: 0 / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.9994, allocations: 318.8 kB / 1.113 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.9994, allocations: 35.98 kB / 1.113 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-05/0.9995, allocations: 64.3 kB / 1.113 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.9997, allocations: 47.95 kB / 1.113 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.9998, allocations: 0 / 1.113 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003493/1, allocations: 149.5 kB / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/1, allocations: 33.7 kB / 1.113 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/1, allocations: 3.938 kB / 1.113 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1, allocations: 8.125 kB / 1.113 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/1, allocations: 11.98 kB / 1.113 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/1, allocations: 6.5 kB / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/1.001, allocations: 47.95 kB / 1.113 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/1.001, allocations: 8 kB / 1.113 GB, free: 6.941 MB / 0.7136 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 () * 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 9.616e-05/1.001, allocations: 120.8 kB / 1.113 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001184/1.001, allocations: 85.58 kB / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/1.001, allocations: 3.906 kB / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/1.001, allocations: 12.62 kB / 1.113 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/1.001, allocations: 0 / 1.113 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.001, allocations: 0 / 1.113 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.001, allocations: 7.922 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/1.001, allocations: 324.3 kB / 1.114 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.001, allocations: 0 / 1.114 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/1.001, allocations: 11.98 kB / 1.114 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/1.001, allocations: 4 kB / 1.114 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/1.001, allocations: 4 kB / 1.114 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.001, allocations: 3.188 kB / 1.114 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.001, allocations: 0 / 1.114 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/1.001, allocations: 183.4 kB / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/1.002, allocations: 81.02 kB / 1.114 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/1.002, allocations: 2.438 kB / 1.114 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.07e-05/1.002, allocations: 11.98 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/1.002, allocations: 4 kB / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/1.002, allocations: 11.92 kB / 1.114 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.645e-05/1.002, allocations: 97.53 kB / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.002, allocations: 0 / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002503/1.002, allocations: 28 kB / 1.114 GB, free: 5.883 MB / 0.7136 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) * 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.00048/1.002, allocations: 0.7141 MB / 1.115 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002/1.003, allocations: 151.5 kB / 1.115 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/1.003, allocations: 4.062 kB / 1.115 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.586e-05/1.003, allocations: 23.94 kB / 1.115 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/1.003, allocations: 10.06 kB / 1.115 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/1.003, allocations: 142.5 kB / 1.115 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/1.004, allocations: 0.6931 MB / 1.116 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.949e-05/1.004, allocations: 8 kB / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/1.004, allocations: 23.42 kB / 1.116 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/1.004, allocations: 0 / 1.116 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/1.024, allocations: 1.838 MB / 1.117 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/1.024, allocations: 142 kB / 1.118 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.582, allocations: 0 / 1.118 GB, free: 2.066 MB / 0.7136 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)