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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001168, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00143/0.00143, allocations: 197 kB / 16.26 MB, free: 6.621 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.711/1.711, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.838/1.838, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001435/0.001436, allocations: 67.44 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2952, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002576/0.2979, allocations: 0.7357 MB / 0.7836 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.2998, allocations: 1.165 MB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.2998, allocations: 0 / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.77e-05/0.2999, allocations: 3.938 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.3, allocations: 11.92 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.3005, allocations: 127.6 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3006, allocations: 139.7 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.278e-05/0.3007, allocations: 4 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/0.3008, allocations: 55.88 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.094e-05/0.3009, allocations: 55.75 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.301, allocations: 12 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.267e-05/0.301, allocations: 23.98 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.3011, allocations: 15.97 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.3011, allocations: 43.84 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.3013, allocations: 124 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3013, allocations: 0 / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3013, allocations: 0 / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3013, allocations: 0 / 0.7853 GB, free: 11.38 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.0006512/0.302, allocations: 400.9 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.302, allocations: 8.031 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.3021, allocations: 4.938 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3022, allocations: 176.2 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.3023, allocations: 8.375 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.3023, allocations: 12.36 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.3025, allocations: 70.22 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3025, allocations: 192 / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3025, allocations: 7.922 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3026, allocations: 4 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.3027, allocations: 35.97 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.3032, allocations: 328.7 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3034, allocations: 74.48 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3035, allocations: 32.91 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.3036, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/0.3039, allocations: 115.2 kB / 0.7865 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3039, allocations: 4 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005031/0.3044, allocations: 177.8 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3044, allocations: 51.5 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3045, allocations: 121.7 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.3046, allocations: 29.7 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.3046, allocations: 92.12 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.3047, allocations: 15.75 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/0.3047, allocations: 41.69 kB / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.3049, allocations: 322.8 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.3051, allocations: 43.97 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.3052, allocations: 78.53 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3055, allocations: 136.2 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3055, allocations: 0 / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00038/0.3059, allocations: 195.1 kB / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.3059, allocations: 33.69 kB / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.3059, allocations: 4 kB / 0.7878 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.306, allocations: 0 / 0.7878 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3061, allocations: 15.98 kB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3061, allocations: 11.94 kB / 0.7878 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.3063, allocations: 28.03 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.3063, allocations: 11.98 kB / 0.7879 GB, free: 8.469 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 0.0001048/0.3064, allocations: 122.4 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.3064, allocations: 7.906 kB / 0.788 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.3065, allocations: 4.375 kB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3065, allocations: 4 kB / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3065, allocations: 0 / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3065, allocations: 3.984 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.307, allocations: 410.4 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.307, allocations: 0.5625 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.3071, allocations: 4 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3071, allocations: 0 / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.3071, allocations: 7.984 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3071, allocations: 0 / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3071, allocations: 0 / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.3075, allocations: 247.2 kB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.3075, allocations: 85.02 kB / 0.7887 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3075, allocations: 0 / 0.7887 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.47e-05/0.3076, allocations: 7.984 kB / 0.7887 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.3077, allocations: 15.92 kB / 0.7888 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.3077, allocations: 4 kB / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.899e-05/0.3078, allocations: 95.2 kB / 0.7889 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3078, allocations: 0 / 0.7889 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002549/0.308, allocations: 28 kB / 0.7889 GB, free: 7.344 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.0002269/0.3083, allocations: 106.3 kB / 0.789 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000386/0.3087, allocations: 187.2 kB / 0.7892 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3087, allocations: 4 kB / 0.7892 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3088, allocations: 47.92 kB / 0.7892 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3091, allocations: 16.86 kB / 0.7892 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.3096, allocations: 190.7 kB / 0.7894 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3099, allocations: 0.6884 MB / 0.7901 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.3099, allocations: 8.656 kB / 0.7901 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.3099, allocations: 15.44 kB / 0.7901 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.3099, allocations: 0 / 0.7901 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of Templates: time 0.004315/0.3142, allocations: 1.642 MB / 0.7917 GB, free: 4.398 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)