Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007069/0.0007066, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004459/0.004459, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.537/1.537, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004895, allocations: 20.69 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1983, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0007041/0.199, allocations: 414.3 kB / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2003, allocations: 1.177 MB / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.432e-05/0.2004, allocations: 0 / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.2004, allocations: 0 / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.667e-05/0.2005, allocations: 11.92 kB / 0.7896 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.2009, allocations: 131.2 kB / 0.7897 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.201, allocations: 115.8 kB / 0.7898 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.065e-05/0.2011, allocations: 8 kB / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.628e-05/0.2011, allocations: 47.83 kB / 0.7899 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/0.2012, allocations: 51.86 kB / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.2013, allocations: 4 kB / 0.7899 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.569e-05/0.2013, allocations: 19.92 kB / 0.7899 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.2014, allocations: 15.98 kB / 0.7899 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.2014, allocations: 65.55 kB / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.2016, allocations: 119.9 kB / 0.7901 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2016, allocations: 0 / 0.7901 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2016, allocations: 0 / 0.7901 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.2016, allocations: 0 / 0.7901 GB, free: 9.285 MB / 0.6075 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.0004487/0.202, allocations: 381.1 kB / 0.7905 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2021, allocations: 8.031 kB / 0.7905 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/0.2021, allocations: 34.75 kB / 0.7905 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.2022, allocations: 16.84 kB / 0.7905 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.924e-05/0.2023, allocations: 168.3 kB / 0.7907 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.2023, allocations: 8.312 kB / 0.7907 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.2023, allocations: 8.375 kB / 0.7907 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.2025, allocations: 74.2 kB / 0.7908 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.2025, allocations: 7.922 kB / 0.7908 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2026, allocations: 0 / 0.7908 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2026, allocations: 4 kB / 0.7908 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.2027, allocations: 47.97 kB / 0.7908 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.2031, allocations: 312.9 kB / 0.7911 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.2033, allocations: 74.42 kB / 0.7912 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.2034, allocations: 48.83 kB / 0.7913 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.2034, allocations: 0 / 0.7913 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.2037, allocations: 107.3 kB / 0.7914 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.2037, allocations: 0 / 0.7914 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004486/0.2041, allocations: 185.5 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.2042, allocations: 63.34 kB / 0.7916 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/0.2043, allocations: 117.8 kB / 0.7917 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.2043, allocations: 29.7 kB / 0.7917 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.2043, allocations: 92.05 kB / 0.7918 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.2044, allocations: 15.8 kB / 0.7918 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.2044, allocations: 21.7 kB / 0.7919 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.2045, allocations: 326.8 kB / 0.7922 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.2046, allocations: 55.97 kB / 0.7922 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2048, allocations: 70.55 kB / 0.7923 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.205, allocations: 124.2 kB / 0.7924 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.205, allocations: 0 / 0.7924 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003659/0.2054, allocations: 203.1 kB / 0.7926 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.2054, allocations: 33.7 kB / 0.7926 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2055, allocations: 4 kB / 0.7926 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/0.2055, allocations: 0.8438 kB / 0.7926 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/0.2056, allocations: 15.98 kB / 0.7927 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.2056, allocations: 4.062 kB / 0.7927 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.2058, allocations: 43.95 kB / 0.7927 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.2058, allocations: 4 kB / 0.7927 GB, free: 6.352 MB / 0.6075 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,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.838e-05/0.2059, allocations: 132.8 kB / 0.7928 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.2059, allocations: 11.89 kB / 0.7928 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.768e-05/0.2059, allocations: 8.375 kB / 0.7929 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.206, allocations: 4 kB / 0.7929 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.206, allocations: 3.938 kB / 0.7929 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.206, allocations: 0 / 0.7929 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.2064, allocations: 406.4 kB / 0.7932 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2064, allocations: 4 kB / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.2065, allocations: 7.984 kB / 0.7933 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2065, allocations: 0 / 0.7933 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2065, allocations: 4 kB / 0.7933 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2065, allocations: 4 kB / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2065, allocations: 0 / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.2068, allocations: 247.3 kB / 0.7935 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.2069, allocations: 89 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.2069, allocations: 4 kB / 0.7936 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.207, allocations: 4 kB / 0.7936 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.2071, allocations: 7.984 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.2071, allocations: 7.938 kB / 0.7936 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.46e-05/0.2071, allocations: 95.2 kB / 0.7937 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2071, allocations: 0 / 0.7937 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002427/0.2074, allocations: 24 kB / 0.7937 GB, free: 5.211 MB / 0.6075 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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005841/0.208, allocations: 0.7909 MB / 0.7945 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.2083, allocations: 183.3 kB / 0.7947 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2083, allocations: 0 / 0.7947 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.2085, allocations: 59.86 kB / 0.7947 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.2087, allocations: 15.92 kB / 0.7947 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.2104, allocations: 1.664 MB / 0.7964 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.2106, allocations: 0.6888 MB / 0.797 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.2107, allocations: 12.64 kB / 0.7971 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.2107, allocations: 19.44 kB / 0.7971 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2107, allocations: 0 / 0.7971 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6897/0.9004, allocations: 2.439 MB / 0.7995 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.9007, allocations: 214.6 kB / 0.7997 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.483, allocations: 0 / 0.7997 GB, free: 15.09 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)