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.291/2.291, allocations: 248.5 MB / 261.1 MB, free: 6.066 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.001485/0.001485, allocations: 176.9 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.2 MB / 0.571 GB, free: 11.76 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.001177/0.001177, allocations: 96.11 kB / 0.6754 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.043e-05/4.06e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2233, allocations: 106.3 MB / 0.8907 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9624/1.186, allocations: 131.5 MB / 1.019 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.186, allocations: 68.09 kB / 1.019 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006793/1.193, allocations: 1.352 MB / 1.02 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.928e-06/1.193, allocations: 7.984 kB / 1.02 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.214e-06/1.193, allocations: 4 kB / 1.02 GB, free: 2.191 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.0006944/1.194, allocations: 350 kB / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.194, allocations: 8.031 kB / 1.021 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.602e-05/1.194, allocations: 34.56 kB / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/1.194, allocations: 11.53 kB / 1.021 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/1.194, allocations: 179 kB / 1.021 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/1.194, allocations: 7.984 kB / 1.021 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/1.194, allocations: 4 kB / 1.021 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/1.194, allocations: 67.42 kB / 1.021 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.194, allocations: 0 / 1.021 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/1.194, allocations: 0 / 1.021 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/1.194, allocations: 7.984 kB / 1.021 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/1.195, allocations: 27.06 kB / 1.021 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/1.195, allocations: 289.5 kB / 1.021 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/1.195, allocations: 64.08 kB / 1.021 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.414e-05/1.195, allocations: 28.03 kB / 1.021 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/1.196, allocations: 4 kB / 1.021 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/1.196, allocations: 91.75 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.956e-06/1.196, allocations: 0 / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004092/1.196, allocations: 126.7 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/1.196, allocations: 59.36 kB / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/1.196, allocations: 112.1 kB / 1.022 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/1.196, allocations: 33.64 kB / 1.022 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/1.197, allocations: 84.12 kB / 1.022 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/1.197, allocations: 19.38 kB / 1.022 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/1.197, allocations: 3.312 kB / 1.022 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.197, allocations: 314.8 kB / 1.022 GB, free: 228 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/1.197, allocations: 34.5 kB / 1.022 GB, free: 204 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/1.197, allocations: 44.22 kB / 1.022 GB, free: 164 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/1.197, allocations: 22.42 kB / 1.022 GB, free: 148 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.197, allocations: 0 / 1.022 GB, free: 148 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005816/1.198, allocations: 144.2 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.198, allocations: 10.61 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.198, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/1.198, allocations: 34.91 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/1.198, allocations: 7.938 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/1.2, allocations: 1.428 MB / 1.024 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/1.2, allocations: 20.05 kB / 1.024 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/1.2, allocations: 8.094 kB / 1.024 GB, free: 14.46 MB / 0.6511 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.00013/1.2, allocations: 119.3 kB / 1.024 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/1.2, allocations: 4 kB / 1.024 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/1.2, allocations: 8.438 kB / 1.024 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.2, allocations: 0 / 1.024 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/1.2, allocations: 0 / 1.024 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/1.2, allocations: 3.984 kB / 1.024 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009276/1.201, allocations: 413.9 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.201, allocations: 0.875 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.227e-05/1.201, allocations: 11.92 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/1.201, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/1.201, allocations: 4 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.201, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.201, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/1.202, allocations: 216.9 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/1.202, allocations: 96.94 kB / 1.025 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/1.202, allocations: 3.062 kB / 1.025 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/1.202, allocations: 11.98 kB / 1.025 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/1.202, allocations: 7.984 kB / 1.025 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/1.202, allocations: 4 kB / 1.025 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.502e-05/1.202, allocations: 90.28 kB / 1.025 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.202, allocations: 7.938 kB / 1.025 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000366/1.203, allocations: 12 kB / 1.025 GB, free: 13.45 MB / 0.6511 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.0007714/1.204, allocations: 0.7544 MB / 1.026 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004859/1.204, allocations: 181 kB / 1.026 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.204, allocations: 4.062 kB / 1.026 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/1.204, allocations: 45.62 kB / 1.026 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/1.205, allocations: 11.61 kB / 1.026 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/1.205, allocations: 143.5 kB / 1.026 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/1.206, allocations: 0.6887 MB / 1.027 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.275e-05/1.206, allocations: 12.66 kB / 1.027 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/1.206, allocations: 16.81 kB / 1.027 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of SimCode: time 8.22e-07/1.206, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/1.237, allocations: 2.149 MB / 1.029 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000322/1.237, allocations: 205.6 kB / 1.029 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.66, allocations: 0 / 1.029 GB, free: 9.383 MB / 0.6511 GB