Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.TriggeredTrapezoid,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",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.401/2.401, allocations: 248.7 MB / 256.2 MB, free: 7.031 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.001441/0.001441, allocations: 190.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.384/2.384, allocations: 205.3 MB / 0.5662 GB, free: 0.6328 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.001058/0.001058, allocations: 86.53 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.039e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2435, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9332/1.177, allocations: 131.7 MB / 1.013 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.177, allocations: 70.09 kB / 1.013 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006123/1.183, allocations: 1.361 MB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.312e-06/1.183, allocations: 0 / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.183, allocations: 4 kB / 1.014 GB, free: 6.172 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006607/1.184, allocations: 361.7 kB / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/1.184, allocations: 8.031 kB / 1.014 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/1.184, allocations: 7.906 kB / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/1.184, allocations: 167 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/1.184, allocations: 7.062 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/1.184, allocations: 0 / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000147/1.185, allocations: 33.86 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/1.185, allocations: 63.42 kB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.185, allocations: 4 kB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/1.185, allocations: 3.984 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.185, allocations: 0 / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/1.185, allocations: 262.4 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/1.186, allocations: 56.69 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.133e-05/1.186, allocations: 26.11 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/1.186, allocations: 7.312 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/1.186, allocations: 89.2 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/1.186, allocations: 0 / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004184/1.186, allocations: 116.7 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/1.186, allocations: 59.38 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/1.187, allocations: 103.2 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/1.187, allocations: 29.7 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/1.187, allocations: 87.27 kB / 1.016 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/1.187, allocations: 22.98 kB / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/1.187, allocations: 0 / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.187, allocations: 320.6 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/1.187, allocations: 29.55 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.516e-05/1.187, allocations: 35.91 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.026e-05/1.187, allocations: 26.39 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/1.187, allocations: 4 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005569/1.188, allocations: 136 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.188, allocations: 4 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.188, allocations: 4 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001789/1.188, allocations: 33.52 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/1.188, allocations: 11.98 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/1.19, allocations: 1.383 MB / 1.018 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/1.19, allocations: 12.02 kB / 1.018 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/1.19, allocations: 4 kB / 1.018 GB, free: 2.609 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001187/1.19, allocations: 108.1 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003316/1.19, allocations: 124.6 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/1.19, allocations: 8 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/1.19, allocations: 15.8 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/1.19, allocations: 4 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/1.19, allocations: 0 / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.191, allocations: 0 / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007656/1.191, allocations: 378.3 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/1.191, allocations: 0 / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/1.191, allocations: 11.44 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.191, allocations: 4.281 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/1.191, allocations: 3.984 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/1.191, allocations: 0 / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.191, allocations: 3.938 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/1.192, allocations: 208.5 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/1.192, allocations: 85.02 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/1.192, allocations: 0 / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/1.192, allocations: 19.55 kB / 1.018 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/1.192, allocations: 11.92 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/1.192, allocations: 7.984 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.009e-05/1.192, allocations: 83.84 kB / 1.019 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.192, allocations: 0 / 1.019 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003801/1.193, allocations: 16 kB / 1.019 GB, free: 1.539 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: 8 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000681/1.193, allocations: 0.7518 MB / 1.019 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004109/1.194, allocations: 171.7 kB / 1.019 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.194, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/1.194, allocations: 35.38 kB / 1.019 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/1.194, allocations: 17.89 kB / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/1.195, allocations: 149 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/1.195, allocations: 0.6962 MB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.889e-05/1.195, allocations: 4.672 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/1.195, allocations: 11 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of SimCode: time 9.21e-07/1.195, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03925/1.235, allocations: 1.724 MB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/1.235, allocations: 160.6 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.605, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.6511 GB