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.001174/0.001174, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.797/1.797, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.841/1.841, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001449/0.001449, allocations: 66.78 kB / 0.6715 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.286, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002118/0.2881, allocations: 0.6631 MB / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.2897, allocations: 1.176 MB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.2898, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.2898, allocations: 3.938 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.131e-05/0.2899, allocations: 11.88 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.2904, allocations: 142.4 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.2906, allocations: 135.8 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.2907, allocations: 11.98 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.078e-05/0.2908, allocations: 51.89 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.633e-05/0.2909, allocations: 51.86 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.2909, allocations: 8 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.291, allocations: 35.86 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.291, allocations: 11.98 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.507e-05/0.2911, allocations: 51.83 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.2913, allocations: 112 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2913, allocations: 0 / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2913, allocations: 0 / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2913, allocations: 8 kB / 0.7858 GB, free: 11 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.000597/0.2919, allocations: 400.9 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.292, allocations: 12.03 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.292, allocations: 4.938 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2922, allocations: 172.2 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.2922, allocations: 12.38 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.2922, allocations: 4.375 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.2925, allocations: 78.14 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.2925, allocations: 4.188 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2925, allocations: 3.938 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2925, allocations: 0 / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.2927, allocations: 43.95 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.2931, allocations: 316.9 kB / 0.7868 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.2933, allocations: 70.42 kB / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.2935, allocations: 37.97 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.2935, allocations: 7.938 kB / 0.7869 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/0.2938, allocations: 107.2 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.2938, allocations: 0 / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.00052/0.2943, allocations: 181.5 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.2944, allocations: 55.41 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.2945, allocations: 118.1 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.2945, allocations: 29.7 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.2946, allocations: 88.12 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.2946, allocations: 20.12 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.2947, allocations: 41.64 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2948, allocations: 322.8 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.295, allocations: 47.97 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.2952, allocations: 74.47 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.2954, allocations: 128.1 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2955, allocations: 0 / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004075/0.2959, allocations: 195.1 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.2959, allocations: 37.69 kB / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2959, allocations: 0 / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.296, allocations: 4 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.2961, allocations: 11.98 kB / 0.7883 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2961, allocations: 0 / 0.7883 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.2963, allocations: 31.97 kB / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2963, allocations: 7.984 kB / 0.7883 GB, free: 8.113 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.0001035/0.2964, allocations: 133.1 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.2965, allocations: 7.906 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.2965, allocations: 8.375 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.2965, allocations: 4 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2965, allocations: 0 / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2965, allocations: 7.969 kB / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.297, allocations: 406.3 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.297, allocations: 4 kB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.2971, allocations: 8 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2971, allocations: 0 / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.2971, allocations: 7.984 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2971, allocations: 0 / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2971, allocations: 4 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.2975, allocations: 239.3 kB / 0.7891 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.2976, allocations: 89.02 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.2976, allocations: 0 / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/0.2977, allocations: 8.266 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.2978, allocations: 4 kB / 0.7892 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.2978, allocations: 11.98 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.043e-05/0.2978, allocations: 91.16 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2978, allocations: 0 / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002593/0.2981, allocations: 27.98 kB / 0.7893 GB, free: 6.977 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.0001932/0.2983, allocations: 115.2 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003863/0.2987, allocations: 179.3 kB / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2987, allocations: 0 / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.2989, allocations: 59.84 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.2992, allocations: 19.67 kB / 0.7897 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.2996, allocations: 170.8 kB / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.2999, allocations: 0.6885 MB / 0.7905 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.01e-05/0.2999, allocations: 4.672 kB / 0.7905 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.2999, allocations: 15.44 kB / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2999, allocations: 0 / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.004431/0.3044, allocations: 1.668 MB / 0.7922 GB, free: 4.012 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)