Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.598/1.598, allocations: 285.6 MB / 293.1 MB, free: 10.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 176.8 kB / 361.4 MB, free: 6.836 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.415/2.415, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 96.02 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.591e-05, allocations: 4 kB / 0.8519 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.019, allocations: 115.3 MB / 0.9645 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2315/1.251, allocations: 137.5 MB / 1.099 GB, free: 2.227 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/1.251, allocations: 71.95 kB / 1.099 GB, free: 2.156 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007561/1.258, allocations: 2.44 MB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.694e-06/1.259, allocations: 0.5 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.259, allocations: 1.938 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000558/1.259, allocations: 388.7 kB / 1.102 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.259, allocations: 8.75 kB / 1.102 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/1.259, allocations: 9.016 kB / 1.102 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/1.259, allocations: 183.9 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/1.259, allocations: 4 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/1.259, allocations: 4.719 kB / 1.102 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000103/1.26, allocations: 27.98 kB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/1.26, allocations: 66.3 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.26, allocations: 0 / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/1.26, allocations: 3.875 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/1.26, allocations: 3.984 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/1.26, allocations: 297.4 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/1.26, allocations: 62.67 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/1.26, allocations: 25.05 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/1.261, allocations: 0.5625 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/1.261, allocations: 101.7 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/1.261, allocations: 0 / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003014/1.261, allocations: 129.5 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/1.261, allocations: 51.97 kB / 1.103 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/1.261, allocations: 107 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/1.261, allocations: 29.7 kB / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/1.261, allocations: 87.23 kB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/1.261, allocations: 23.66 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/1.261, allocations: 0 / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.262, allocations: 322.8 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.87e-05/1.262, allocations: 43.94 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/1.262, allocations: 67.19 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/1.262, allocations: 51.58 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.262, allocations: 0 / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005811/1.263, allocations: 207.4 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/1.263, allocations: 33.69 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.263, allocations: 4 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/1.263, allocations: 28.84 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/1.263, allocations: 7.938 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/1.265, allocations: 1.382 MB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/1.265, allocations: 50.55 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/1.265, allocations: 4 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,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): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001401/1.265, allocations: 118.4 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002027/1.265, allocations: 122.9 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/1.265, allocations: 11.86 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/1.265, allocations: 12.62 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.265, allocations: 4 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/1.265, allocations: 3.938 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.265, allocations: 0 / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/1.266, allocations: 351.1 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/1.266, allocations: 3.953 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.501e-05/1.266, allocations: 4 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.266, allocations: 4 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/1.266, allocations: 3.984 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.266, allocations: 5.875 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.266, allocations: 1.734 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/1.266, allocations: 219 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/1.266, allocations: 88.95 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/1.266, allocations: 8 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/1.266, allocations: 0 / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/1.266, allocations: 7.984 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/1.266, allocations: 8 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.976e-05/1.266, allocations: 91.27 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.046e-06/1.266, allocations: 0 / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003225/1.267, allocations: 31.94 kB / 1.106 GB, free: 10.53 MB / 0.7136 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 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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.0007488/1.268, allocations: 0.7713 MB / 1.107 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004888/1.268, allocations: 267.5 kB / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.268, allocations: 0 / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/1.268, allocations: 47.94 kB / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/1.268, allocations: 9.578 kB / 1.107 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/1.269, allocations: 148.5 kB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/1.269, allocations: 0.6925 MB / 1.108 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.612e-05/1.269, allocations: 8.656 kB / 1.108 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/1.269, allocations: 23.42 kB / 1.108 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.269, allocations: 0 / 1.108 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3801/1.65, allocations: 2.171 MB / 1.11 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003213/1.65, allocations: 166.3 kB / 1.11 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/4.306, allocations: 0 / 1.11 GB, free: 6.176 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)