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.001003/0.001003, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00107/0.00107, allocations: 192.5 kB / 16.25 MB, free: 6.578 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.454/1.454, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.548/1.548, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.001354/0.001354, allocations: 71.11 kB / 0.6711 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2052, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001832/0.2071, allocations: 0.728 MB / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2084, allocations: 1.169 MB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.2085, allocations: 4 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.2085, allocations: 0 / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.2086, allocations: 7.922 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.2091, allocations: 131.8 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.2093, allocations: 131.8 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.546e-05/0.2093, allocations: 15.97 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.817e-05/0.2094, allocations: 47.91 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.251e-05/0.2095, allocations: 55.8 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.2095, allocations: 12 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.2096, allocations: 27.92 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.2096, allocations: 11.98 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.2097, allocations: 47.83 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.2099, allocations: 127.9 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2099, allocations: 0 / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2099, allocations: 0 / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2099, allocations: 3.938 kB / 0.7854 GB, free: 11.28 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.0005354/0.2104, allocations: 405 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.2105, allocations: 8.031 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.2105, allocations: 38.73 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.2105, allocations: 4.938 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2107, allocations: 168.3 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.2107, allocations: 12.38 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2107, allocations: 4.375 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.2109, allocations: 78.14 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2109, allocations: 3.938 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.211, allocations: 3.984 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.211, allocations: 0 / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.2111, allocations: 35.97 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.2115, allocations: 324.8 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.2117, allocations: 74.42 kB / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.885e-05/0.2118, allocations: 32.91 kB / 0.7866 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.2118, allocations: 0 / 0.7866 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.2121, allocations: 115.2 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.552e-06/0.2121, allocations: 0 / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004651/0.2126, allocations: 173.6 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.2126, allocations: 55.41 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.2127, allocations: 129.9 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2127, allocations: 25.7 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.2128, allocations: 92.12 kB / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.2128, allocations: 19.8 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.255e-05/0.2129, allocations: 45.69 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.213, allocations: 318.8 kB / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.2131, allocations: 47.97 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2133, allocations: 70.53 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.2135, allocations: 128.2 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2135, allocations: 0 / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003622/0.2139, allocations: 195.1 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.2139, allocations: 37.69 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2139, allocations: 0 / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2139, allocations: 4 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/0.214, allocations: 15.98 kB / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2141, allocations: 0 / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.2142, allocations: 36.03 kB / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.2143, allocations: 7.984 kB / 0.788 GB, free: 8.344 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.507e-05/0.2144, allocations: 126.5 kB / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.2144, allocations: 11.91 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.2144, allocations: 4.375 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2144, allocations: 0 / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2144, allocations: 3.984 kB / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2144, allocations: 11.98 kB / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.2149, allocations: 410.3 kB / 0.7886 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2149, allocations: 0 / 0.7886 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.2149, allocations: 4 kB / 0.7886 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2149, allocations: 0 / 0.7886 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.215, allocations: 3.984 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.215, allocations: 0 / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.215, allocations: 0 / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.2153, allocations: 251.8 kB / 0.7888 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.2153, allocations: 85.02 kB / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.2154, allocations: 0 / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.2155, allocations: 3.984 kB / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.2155, allocations: 11.98 kB / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.2155, allocations: 7.938 kB / 0.7889 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.152e-05/0.2156, allocations: 91.27 kB / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.202e-06/0.2156, allocations: 4 kB / 0.789 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002367/0.2158, allocations: 27.94 kB / 0.789 GB, free: 7.207 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.0005721/0.2164, allocations: 0.7738 MB / 0.7898 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003283/0.2167, allocations: 195.2 kB / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2167, allocations: 0 / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2169, allocations: 51.92 kB / 0.79 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.2171, allocations: 16.77 kB / 0.79 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.2188, allocations: 1.661 MB / 0.7917 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.219, allocations: 0.6807 MB / 0.7923 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.219, allocations: 8.656 kB / 0.7923 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.2191, allocations: 23.38 kB / 0.7924 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2191, allocations: 4 kB / 0.7924 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.737/3.956, allocations: 2.611 MB / 0.7949 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/3.956, allocations: 216.8 kB / 0.7951 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/5.524, allocations: 0 / 0.7951 GB, free: 0.9297 MB / 0.6075 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)