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.001497/0.001498, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001934/0.001935, allocations: 193.4 kB / 16.14 MB, free: 6.699 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.644/1.644, allocations: 205.1 MB / 222 MB, free: 4.758 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.772/1.772, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001323/0.001323, allocations: 64.69 kB / 0.6708 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2986, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002243/0.3009, allocations: 0.7307 MB / 0.7834 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3028, allocations: 1.189 MB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.3028, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.3029, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.93e-05/0.303, allocations: 3.938 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005302/0.3035, allocations: 146.8 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.3036, allocations: 103.8 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3038, allocations: 15.98 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3039, allocations: 51.83 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.304, allocations: 39.88 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.304, allocations: 11.94 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.3041, allocations: 19.98 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.3042, allocations: 11.98 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.184e-05/0.3043, allocations: 51.81 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.3045, allocations: 108 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3045, allocations: 0 / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.81e-07/0.3045, allocations: 0 / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3045, allocations: 0 / 0.7851 GB, free: 11.5 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.0008454/0.3053, allocations: 405 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3054, allocations: 8.031 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.3055, allocations: 12.86 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.3057, allocations: 168.3 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.3057, allocations: 8.375 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.3057, allocations: 8.312 kB / 0.7857 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.306, allocations: 74.2 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.306, allocations: 192 / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.306, allocations: 11.92 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3061, allocations: 0 / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.3062, allocations: 39.97 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006107/0.3068, allocations: 320.8 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.3071, allocations: 74.42 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.3072, allocations: 40.84 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.3072, allocations: 0 / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/0.3076, allocations: 103.2 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3076, allocations: 4 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005892/0.3082, allocations: 181.5 kB / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.3083, allocations: 51.41 kB / 0.7865 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3084, allocations: 122.1 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.3084, allocations: 34.08 kB / 0.7867 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.3085, allocations: 84.14 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.3085, allocations: 23.73 kB / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/0.3086, allocations: 37.7 kB / 0.7868 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3088, allocations: 326.8 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.3089, allocations: 51.97 kB / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.3091, allocations: 70.55 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.3094, allocations: 128.1 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3094, allocations: 0 / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004286/0.3098, allocations: 199.1 kB / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.3099, allocations: 41.69 kB / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3099, allocations: 0 / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3099, allocations: 0 / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3101, allocations: 8 kB / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.3101, allocations: 4 kB / 0.7876 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.3103, allocations: 32.02 kB / 0.7877 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.3103, allocations: 12 kB / 0.7877 GB, free: 8.605 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.0001394/0.3105, allocations: 126.4 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.3105, allocations: 7.906 kB / 0.7878 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.3105, allocations: 8.375 kB / 0.7878 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3106, allocations: 4 kB / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.3106, allocations: 0 / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3106, allocations: 0 / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.3112, allocations: 414.3 kB / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3112, allocations: 0 / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.3112, allocations: 4 kB / 0.7882 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3112, allocations: 0 / 0.7882 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3112, allocations: 4 kB / 0.7882 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3112, allocations: 0 / 0.7882 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3112, allocations: 0 / 0.7882 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.3116, allocations: 247.3 kB / 0.7884 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.3117, allocations: 85.3 kB / 0.7885 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.3117, allocations: 4 kB / 0.7885 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.3118, allocations: 7.984 kB / 0.7885 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.3119, allocations: 7.938 kB / 0.7885 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.3119, allocations: 7.984 kB / 0.7886 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001067/0.312, allocations: 95.16 kB / 0.7886 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3121, allocations: 4 kB / 0.7886 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002619/0.3123, allocations: 24 kB / 0.7887 GB, free: 7.477 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.0001979/0.3125, allocations: 107.2 kB / 0.7888 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000411/0.3129, allocations: 179.3 kB / 0.7889 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.313, allocations: 3.938 kB / 0.7889 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.3131, allocations: 55.91 kB / 0.789 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.3134, allocations: 12.12 kB / 0.789 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.3139, allocations: 180.1 kB / 0.7892 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.3143, allocations: 0.6899 MB / 0.7899 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.745e-05/0.3143, allocations: 8.656 kB / 0.7899 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.3143, allocations: 19.44 kB / 0.7899 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.3143, allocations: 0 / 0.7899 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of Templates: time 0.004984/0.3193, allocations: 1.571 MB / 0.7914 GB, free: 4.613 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)