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.327/2.327, allocations: 248.7 MB / 256.2 MB, free: 7.016 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.002245/0.002245, allocations: 179.7 kB / 315.4 MB, free: 4 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.038/2.038, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 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.001067/0.001067, allocations: 88.44 kB / 0.6704 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.361e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.198, allocations: 106.2 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8983/1.096, allocations: 131.8 MB / 1.013 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/1.097, allocations: 71.33 kB / 1.013 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0038/1.1, allocations: 0.9619 MB / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.362e-06/1.1, allocations: 0 / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.754e-06/1.1, allocations: 0 / 1.014 GB, free: 5.969 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006015/1.101, allocations: 361.8 kB / 1.014 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.101, allocations: 16.03 kB / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/1.101, allocations: 7.906 kB / 1.014 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/1.101, allocations: 174.6 kB / 1.014 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/1.101, allocations: 0 / 1.014 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/1.101, allocations: 7.984 kB / 1.014 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/1.102, allocations: 18.12 kB / 1.014 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/1.102, allocations: 48.62 kB / 1.014 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.102, allocations: 3.938 kB / 1.014 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.102, allocations: 0 / 1.014 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.102, allocations: 0 / 1.014 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/1.102, allocations: 297.6 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/1.103, allocations: 96.2 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/1.103, allocations: 18.55 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/1.103, allocations: 0 / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/1.103, allocations: 68.02 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/1.103, allocations: 3.938 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002429/1.104, allocations: 71.42 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/1.104, allocations: 62.73 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/1.104, allocations: 99.75 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/1.104, allocations: 33.69 kB / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/1.104, allocations: 88.14 kB / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/1.104, allocations: 15.56 kB / 1.015 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/1.104, allocations: 4 kB / 1.015 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.104, allocations: 318.5 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.246e-05/1.104, allocations: 15.94 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/1.104, allocations: 34.88 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.124e-05/1.104, allocations: 19.55 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.104, allocations: 4 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001899/1.104, allocations: 80.84 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.104, allocations: 10.34 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.104, allocations: 0 / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.105, allocations: 0 / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/1.105, allocations: 15.98 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/1.105, allocations: 0 / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/1.105, allocations: 24.59 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/1.105, allocations: 7.812 kB / 1.016 GB, free: 3.887 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,$PRE.edge1.u,edge1.u,edge1.y) * 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 9.588e-05/1.105, allocations: 111.7 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001595/1.105, allocations: 77.22 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/1.105, allocations: 3.906 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/1.105, allocations: 17.36 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/1.105, allocations: 11.88 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.105, allocations: 4 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.105, allocations: 0 / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/1.106, allocations: 314 kB / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.106, allocations: 0 / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/1.106, allocations: 8.562 kB / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/1.106, allocations: 0 / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.106, allocations: 3.953 kB / 1.016 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.008e-05/1.106, allocations: 3.984 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.106, allocations: 6.25 kB / 1.016 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/1.106, allocations: 169.6 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/1.106, allocations: 77.11 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/1.106, allocations: 3.938 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/1.106, allocations: 19.94 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/1.107, allocations: 7.984 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/1.107, allocations: 11.3 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.38e-05/1.107, allocations: 87.22 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.3e-07/1.107, allocations: 0 / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003334/1.107, allocations: 15.94 kB / 1.017 GB, free: 2.918 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 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0005629/1.108, allocations: 0.7 MB / 1.017 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001735/1.108, allocations: 47.19 kB / 1.017 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.108, allocations: 0 / 1.017 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/1.108, allocations: 23.88 kB / 1.017 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/1.108, allocations: 11.94 kB / 1.017 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/1.109, allocations: 136.8 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/1.109, allocations: 0.6926 MB / 1.018 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.401e-05/1.109, allocations: 7.859 kB / 1.018 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/1.109, allocations: 21.44 kB / 1.018 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of SimCode: time 8.32e-07/1.109, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03693/1.146, allocations: 1.297 MB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003436/1.147, allocations: 143.9 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/3.473, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.6511 GB