Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.224/2.224, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00283/0.00283, allocations: 175.9 kB / 325.5 MB, free: 2.895 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.353/2.353, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001131/0.00113, allocations: 97.8 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0009176/0.0009177, allocations: 13 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2119, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2507/0.4627, allocations: 131.6 MB / 1.027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.463, allocations: 75.94 kB / 1.027 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004069/0.4671, allocations: 0.9621 MB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4671, allocations: 0 / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.4672, allocations: 4 kB / 1.028 GB, free: 12.62 MB / 0.6823 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.0007381/0.4679, allocations: 379.1 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.468, allocations: 8.031 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.588e-05/0.4681, allocations: 34.55 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.4681, allocations: 19.8 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.4683, allocations: 178.9 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.4683, allocations: 0 / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.4683, allocations: 4 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.4686, allocations: 73.64 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4687, allocations: 0 / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.4687, allocations: 4 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4687, allocations: 4 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.469, allocations: 51.95 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/0.47, allocations: 312.7 kB / 1.029 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.4711, allocations: 122.5 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.4712, allocations: 0 / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004764/0.4716, allocations: 87.56 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 4.138e-06/0.4717, allocations: 0 / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001069/0.4728, allocations: 149.5 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.4729, allocations: 51.41 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.4731, allocations: 109.1 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.4732, allocations: 29.7 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.4733, allocations: 88.14 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.4734, allocations: 23.78 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.4734, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002097/0.4736, allocations: 314.8 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.474, allocations: 35.97 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.4744, allocations: 63.34 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.4748, allocations: 35.98 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.4748, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008337/0.4757, allocations: 125.5 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.4757, allocations: 8.562 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.4758, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/0.4758, allocations: 4 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.4761, allocations: 19.88 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.4761, allocations: 4 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.4765, allocations: 20.05 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.4765, allocations: 11.97 kB / 1.031 GB, free: 10.05 MB / 0.6823 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,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Number of clocked 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.0002199/0.4767, allocations: 121.8 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.4768, allocations: 7.844 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.516e-05/0.4769, allocations: 12.38 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.4769, allocations: 0 / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.477, allocations: 3.953 kB / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.477, allocations: 3.984 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.4782, allocations: 370.5 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4783, allocations: 0 / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.4785, allocations: 11.98 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.4785, allocations: 0 / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.4786, allocations: 7.953 kB / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.4786, allocations: 4 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4786, allocations: 0 / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.4793, allocations: 212.2 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.4794, allocations: 81.11 kB / 1.031 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.4794, allocations: 4 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.4797, allocations: 15.94 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.4798, allocations: 11.98 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.4798, allocations: 4 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001227/0.48, allocations: 91.27 kB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/0.48, allocations: 0 / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006755/0.4807, allocations: 12 kB / 1.032 GB, free: 9 MB / 0.6823 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 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * 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.001247/0.482, allocations: 0.7436 MB / 1.032 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006551/0.4827, allocations: 84.42 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4827, allocations: 0 / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.483, allocations: 40.16 kB / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.4834, allocations: 22.09 kB / 1.032 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.4861, allocations: 1.012 MB / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.4866, allocations: 0.6926 MB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.698e-05/0.4867, allocations: 15.84 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/0.4868, allocations: 19.44 kB / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of SimCode: time 1.382e-06/0.4868, allocations: 0 / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.5117, allocations: 1.604 MB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003415/0.5121, allocations: 188.2 kB / 1.036 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/2.916, allocations: 4.062 kB / 1.036 GB, free: 4.535 MB / 0.6823 GB