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.204/2.204, allocations: 251 MB / 265.9 MB, free: 11.71 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.001494/0.001494, allocations: 182.6 kB / 325.5 MB, free: 2.926 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.34/2.34, allocations: 205.4 MB / 0.5764 GB, free: 20.87 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.001139/0.001139, allocations: 90.45 kB / 0.6809 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004903, allocations: 15.66 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 106.3 MB / 0.8988 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2444/0.4771, allocations: 131.5 MB / 1.027 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.4774, allocations: 71.95 kB / 1.027 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006422/0.4839, allocations: 1.355 MB / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4839, allocations: 7.938 kB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.484, allocations: 0 / 1.029 GB, free: 12.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007404/0.4847, allocations: 375.1 kB / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.4848, allocations: 8.031 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.537e-05/0.4848, allocations: 34.56 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.4849, allocations: 4 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4851, allocations: 178.9 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.4851, allocations: 0 / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.4852, allocations: 8 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.4855, allocations: 73.64 kB / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4855, allocations: 0 / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.4855, allocations: 0 / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4856, allocations: 0 / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.4859, allocations: 51.89 kB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.4865, allocations: 300.7 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.4869, allocations: 66.55 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.4869, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.4873, allocations: 100.3 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.365e-06/0.4873, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0008912/0.4882, allocations: 181.7 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.4883, allocations: 59.45 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.4884, allocations: 108.9 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.4885, allocations: 33.7 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.4886, allocations: 84.14 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.4886, allocations: 19.72 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.4886, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.4888, allocations: 318.8 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.489, allocations: 27.98 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.4892, allocations: 49.64 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.4894, allocations: 31.92 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4894, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004323/0.4898, allocations: 105.6 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4899, allocations: 4 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4899, allocations: 0 / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4899, allocations: 0 / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.4901, allocations: 20.02 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4901, allocations: 0 / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.4903, allocations: 23.84 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.4903, allocations: 4 kB / 1.031 GB, free: 9.949 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001339/0.4905, allocations: 117.8 kB / 1.031 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.4905, allocations: 7.984 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.4905, allocations: 12.38 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4906, allocations: 4 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4906, allocations: 0 / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4906, allocations: 0 / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.4917, allocations: 430.5 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4917, allocations: 4.094 kB / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.4918, allocations: 11.94 kB / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.4918, allocations: 0 / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.4919, allocations: 3.984 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4919, allocations: 0 / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.4919, allocations: 3.953 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.4925, allocations: 231.4 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.4926, allocations: 89.03 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.4926, allocations: 0 / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.4928, allocations: 11.98 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.4929, allocations: 15.94 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.4929, allocations: 4 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.2e-05/0.493, allocations: 91.27 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.505e-06/0.493, allocations: 0 / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003129/0.4933, allocations: 15.94 kB / 1.032 GB, free: 8.82 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: 8 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * 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.001023/0.4944, allocations: 0.7709 MB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004309/0.4948, allocations: 83.89 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4948, allocations: 0 / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.4951, allocations: 44.36 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.4954, allocations: 24.27 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.497, allocations: 0.6946 MB / 1.033 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.4973, allocations: 0.6926 MB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.389e-05/0.4974, allocations: 4.672 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.4975, allocations: 19.44 kB / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of SimCode: time 1.001e-06/0.4975, allocations: 0 / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.5181, allocations: 1.892 MB / 1.036 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/0.5185, allocations: 197.2 kB / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/2.806, allocations: 0 / 1.036 GB, free: 4.422 MB / 0.6823 GB