Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 251.9 MB / 266.8 MB, free: 11.03 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.001714/0.001714, allocations: 178.2 kB / 326.5 MB, free: 2.238 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.283/2.283, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.001057/0.001057, allocations: 101.3 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 12.56 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2489, allocations: 106.3 MB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001509/0.2504, allocations: 1.091 MB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00051/0.251, allocations: 242.3 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.251, allocations: 0 / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.2511, allocations: 0 / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.368e-05/0.2511, allocations: 7.984 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.2514, allocations: 31.89 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2515, allocations: 39.94 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2516, allocations: 4 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.8e-05/0.2517, allocations: 31.91 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.2518, allocations: 27.91 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.2518, allocations: 7.938 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.531e-05/0.2518, allocations: 4 kB / 0.9016 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.2518, allocations: 15.91 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.2519, allocations: 29.7 kB / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.666e-05/0.252, allocations: 43.89 kB / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.252, allocations: 0 / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.252, allocations: 0 / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.252, allocations: 0 / 0.9017 GB, free: 62.78 MB / 0.6042 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.0005735/0.2526, allocations: 363.5 kB / 0.902 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.2526, allocations: 12.03 kB / 0.902 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.2527, allocations: 34.56 kB / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.2527, allocations: 7.906 kB / 0.9021 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2529, allocations: 178.9 kB / 0.9023 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.2529, allocations: 3.938 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.2529, allocations: 8 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.2531, allocations: 77.62 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2531, allocations: 0 / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.2532, allocations: 8 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2532, allocations: 0 / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.2533, allocations: 39.97 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.2538, allocations: 296.8 kB / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.254, allocations: 70.48 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.254, allocations: 0 / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.2542, allocations: 99.47 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2542, allocations: 0 / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004545/0.2547, allocations: 181.4 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.2547, allocations: 55.41 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.2548, allocations: 117.8 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2548, allocations: 25.7 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.2549, allocations: 91.98 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.2549, allocations: 23.86 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.2549, allocations: 4 kB / 0.9033 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.552e-05/0.255, allocations: 318.8 kB / 0.9036 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.2551, allocations: 27.98 kB / 0.9036 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.453e-05/0.2552, allocations: 45.62 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.788e-05/0.2552, allocations: 28 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2552, allocations: 0 / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000206/0.2555, allocations: 113.5 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2555, allocations: 4 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2555, allocations: 0 / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2555, allocations: 0 / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2556, allocations: 19.92 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2556, allocations: 320 / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.2557, allocations: 19.92 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.2557, allocations: 11.98 kB / 0.9039 GB, free: 60.3 MB / 0.6042 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 7.584e-05/0.2558, allocations: 115.9 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.2558, allocations: 7.906 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.2559, allocations: 8.375 kB / 0.904 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2559, allocations: 4.469 kB / 0.904 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2559, allocations: 0 / 0.904 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2559, allocations: 4 kB / 0.904 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.2564, allocations: 422.3 kB / 0.9044 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2564, allocations: 4 kB / 0.9044 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.2565, allocations: 15.92 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2565, allocations: 0 / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.2565, allocations: 4 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2565, allocations: 3.984 kB / 0.9044 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2565, allocations: 3.953 kB / 0.9044 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.2568, allocations: 235.3 kB / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.2568, allocations: 77.11 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.2569, allocations: 0 / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.257, allocations: 19.98 kB / 0.9048 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.257, allocations: 7.984 kB / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.257, allocations: 11.94 kB / 0.9048 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.2571, allocations: 91.27 kB / 0.9049 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.032e-06/0.2571, allocations: 0 / 0.9049 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000234/0.2573, allocations: 23.94 kB / 0.9049 GB, free: 59.17 MB / 0.6042 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.0004718/0.2578, allocations: 0.7641 MB / 0.9056 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.258, allocations: 88.11 kB / 0.9057 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.258, allocations: 0 / 0.9057 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.2582, allocations: 51.98 kB / 0.9058 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.2584, allocations: 16.14 kB / 0.9058 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008705/0.2592, allocations: 0.7012 MB / 0.9065 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.2594, allocations: 0.6887 MB / 0.9071 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.656e-05/0.2594, allocations: 12.66 kB / 0.9072 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.2595, allocations: 15.44 kB / 0.9072 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.2595, allocations: 0 / 0.9072 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01125/0.2707, allocations: 1.879 MB / 0.909 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.271, allocations: 216.3 kB / 0.9092 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/1.824, allocations: 0 / 0.9092 GB, free: 54.78 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)