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.445/1.445, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001797/0.001797, allocations: 179.9 kB / 326.5 MB, free: 2.258 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.261/2.261, 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.0009588/0.0009587, allocations: 96.42 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.000339, allocations: 8.844 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2518, allocations: 106.4 MB / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.4355, allocations: 131.7 MB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.4358, allocations: 71.97 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004278/0.4401, allocations: 1.363 MB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.816e-06/0.4402, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.4402, allocations: 0 / 1.03 GB, free: 11.02 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.0006953/0.4409, allocations: 375.1 kB / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.906e-05/0.441, allocations: 8.031 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.799e-05/0.4411, allocations: 30.56 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.4412, allocations: 7.906 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.4414, allocations: 175 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.4414, allocations: 4 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.4415, allocations: 3.938 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.4418, allocations: 81.62 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4418, allocations: 4 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.4418, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4418, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.442, allocations: 47.97 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007436/0.4428, allocations: 288.8 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.443, allocations: 70.48 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.4431, allocations: 0 / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000374/0.4434, allocations: 100.3 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 4.047e-06/0.4435, allocations: 3.984 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0006293/0.4441, allocations: 185.5 kB / 1.032 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.4442, allocations: 51.41 kB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.4443, allocations: 101 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.4443, allocations: 33.7 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.4444, allocations: 88.09 kB / 1.032 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.4444, allocations: 20.16 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.4444, allocations: 4 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4446, allocations: 326.8 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.4447, allocations: 27.98 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.4448, allocations: 57.5 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.175e-05/0.4449, allocations: 24 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4449, allocations: 0 / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002586/0.4452, allocations: 113.5 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4452, allocations: 4 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4452, allocations: 0 / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4452, allocations: 0 / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.4454, allocations: 15.94 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4454, allocations: 0 / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-05/0.4455, allocations: 20.02 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.4455, allocations: 7.953 kB / 1.032 GB, free: 8.555 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.0001148/0.4456, allocations: 120.9 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.4456, allocations: 11.91 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.4457, allocations: 8.375 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4457, allocations: 4 kB / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4457, allocations: 0 / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4457, allocations: 0 / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007235/0.4464, allocations: 422.4 kB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4465, allocations: 0 / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.4465, allocations: 8 kB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4465, allocations: 7.922 kB / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4465, allocations: 4 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4465, allocations: 320 / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4465, allocations: 4 kB / 1.033 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.4469, allocations: 239.4 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.447, allocations: 81.05 kB / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.447, allocations: 4 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.4471, allocations: 15.98 kB / 1.033 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.4472, allocations: 7.984 kB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.4472, allocations: 4 kB / 1.033 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.461e-05/0.4473, allocations: 99.2 kB / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4473, allocations: 0 / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002477/0.4476, allocations: 16 kB / 1.033 GB, free: 7.426 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.0009171/0.4485, allocations: 0.768 MB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002957/0.4488, allocations: 87.83 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4488, allocations: 0 / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.449, allocations: 47.92 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.4493, allocations: 16.05 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.4506, allocations: 0.7032 MB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.451, allocations: 0.6887 MB / 1.036 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.586e-05/0.451, allocations: 4.672 kB / 1.036 GB, free: 5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.4511, allocations: 19.42 kB / 1.036 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/0.4511, allocations: 4 kB / 1.036 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.4652, allocations: 1.874 MB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.4655, allocations: 204.4 kB / 1.038 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/1.984, allocations: 4.062 kB / 1.038 GB, free: 3.039 MB / 0.6823 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)