Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.304/2.304, allocations: 248.7 MB / 256.2 MB, free: 6.988 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.001459/0.001459, allocations: 180.3 kB / 315.4 MB, free: 4.008 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 91.94 kB / 0.6704 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.717e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2058, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8926/1.098, allocations: 131.8 MB / 1.013 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/1.099, allocations: 78.06 kB / 1.013 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003848/1.103, allocations: 0.9671 MB / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/1.103, allocations: 0 / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.083e-06/1.103, allocations: 0 / 1.014 GB, free: 6.047 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.0005954/1.103, allocations: 380.5 kB / 1.014 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.103, allocations: 8.031 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/1.103, allocations: 7.906 kB / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/1.104, allocations: 175.7 kB / 1.014 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/1.104, allocations: 3.984 kB / 1.014 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/1.104, allocations: 4 kB / 1.014 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001159/1.104, allocations: 29.42 kB / 1.014 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/1.104, allocations: 59.06 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/1.104, allocations: 4 kB / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/1.104, allocations: 0 / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.104, allocations: 0 / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/1.105, allocations: 284.9 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/1.105, allocations: 100.6 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/1.105, allocations: 19.73 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/1.105, allocations: 2.625 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/1.105, allocations: 65.77 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/1.105, allocations: 0 / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002565/1.106, allocations: 76.25 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/1.106, allocations: 63.36 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/1.106, allocations: 108.9 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/1.106, allocations: 29.64 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/1.106, allocations: 92.17 kB / 1.015 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/1.106, allocations: 15.61 kB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/1.106, allocations: 0 / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.106, allocations: 318.5 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/1.106, allocations: 11.88 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.557e-05/1.106, allocations: 47.23 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.415e-05/1.107, allocations: 11.75 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.107, allocations: 0 / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/1.107, allocations: 76.75 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.107, allocations: 5.719 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.107, allocations: 0 / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.107, allocations: 8.656 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/1.107, allocations: 23.17 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.107, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/1.107, allocations: 23.84 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/1.107, allocations: 0 / 1.016 GB, free: 3.941 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 0.0001008/1.107, allocations: 119.3 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001641/1.107, allocations: 76.19 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/1.108, allocations: 7.906 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/1.108, allocations: 8.125 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.108, allocations: 4 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.108, allocations: 7.891 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.108, allocations: 0 / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/1.108, allocations: 303 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.108, allocations: 0 / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/1.108, allocations: 15.98 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/1.108, allocations: 0 / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/1.108, allocations: 7.938 kB / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/1.108, allocations: 3.953 kB / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.108, allocations: 0 / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/1.108, allocations: 172.1 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/1.109, allocations: 89 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/1.109, allocations: 0 / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/1.109, allocations: 15.98 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/1.109, allocations: 11.94 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/1.109, allocations: 7.062 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001016/1.109, allocations: 90.7 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.91e-07/1.109, allocations: 0 / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004506/1.109, allocations: 11.94 kB / 1.017 GB, free: 2.977 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.0005586/1.11, allocations: 0.7052 MB / 1.017 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001834/1.11, allocations: 46.36 kB / 1.017 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.11, allocations: 0 / 1.017 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.612e-05/1.11, allocations: 22.69 kB / 1.017 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/1.111, allocations: 12.14 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/1.111, allocations: 155.9 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/1.112, allocations: 0.6957 MB / 1.018 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.493e-05/1.112, allocations: 8.266 kB / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/1.112, allocations: 18.31 kB / 1.018 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of SimCode: time 6.52e-07/1.112, allocations: 0 / 1.018 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/1.147, allocations: 1.346 MB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003439/1.148, allocations: 149.3 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.434, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.6511 GB