Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.724/2.724, allocations: 287.3 MB / 302.3 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 181 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001126, allocations: 102.6 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007116/0.0007118, allocations: 17.91 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.293, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001134/0.2942, allocations: 388.9 kB / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002328/0.2966, allocations: 1.132 MB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.2967, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.2968, allocations: 7.875 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.2969, allocations: 11.97 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009312/0.2978, allocations: 128.3 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.298, allocations: 55.92 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.2982, allocations: 7.984 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.2984, allocations: 55.88 kB / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.2986, allocations: 39.88 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.11e-05/0.2986, allocations: 8 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.2987, allocations: 19.98 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.2988, allocations: 15.97 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.2989, allocations: 33.64 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.2991, allocations: 80.09 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2992, allocations: 0 / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.067e-06/0.2992, allocations: 0 / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2992, allocations: 3.938 kB / 0.9801 GB, free: 26.39 MB / 0.6198 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.0008382/0.3, allocations: 384.9 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3001, allocations: 15.97 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.945e-05/0.3002, allocations: 7.906 kB / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.3004, allocations: 175 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.3005, allocations: 8 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.3006, allocations: 8 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.3011, allocations: 73.58 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3011, allocations: 0 / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.3011, allocations: 4 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3012, allocations: 0 / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.3015, allocations: 43.97 kB / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.3023, allocations: 328.7 kB / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.3028, allocations: 70.48 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.3028, allocations: 0 / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004813/0.3033, allocations: 107.5 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.196e-06/0.3034, allocations: 0 / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001118/0.3045, allocations: 185.5 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3046, allocations: 51.41 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.3047, allocations: 126.1 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.3048, allocations: 34.08 kB / 0.9817 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.3049, allocations: 88.33 kB / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/0.3049, allocations: 19.66 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.305, allocations: 4 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.224e-05/0.3051, allocations: 322.8 kB / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.3054, allocations: 51.97 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.3058, allocations: 74.55 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.3062, allocations: 81.61 kB / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3062, allocations: 0 / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009257/0.3071, allocations: 195.3 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.723e-05/0.3072, allocations: 41.69 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3072, allocations: 4.062 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.3073, allocations: 4 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.3075, allocations: 15.92 kB / 0.9825 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3076, allocations: 4 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005162/0.3081, allocations: 39.88 kB / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.3082, allocations: 19.94 kB / 0.9826 GB, free: 23.61 MB / 0.6198 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,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.3083, allocations: 119.9 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.3084, allocations: 7.906 kB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.3085, allocations: 8.375 kB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.3085, allocations: 0 / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3085, allocations: 0 / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3085, allocations: 3.984 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.3096, allocations: 410.4 kB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.3096, allocations: 0 / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.748e-05/0.3097, allocations: 7.938 kB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3097, allocations: 4 kB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.3098, allocations: 7.984 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.3098, allocations: 0 / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3098, allocations: 3.938 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/0.3106, allocations: 251.4 kB / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.3107, allocations: 81.3 kB / 0.9835 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.3107, allocations: 8 kB / 0.9835 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.311, allocations: 3.984 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.3111, allocations: 11.92 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.3111, allocations: 4 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.445e-05/0.3112, allocations: 95.27 kB / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.31e-07/0.3112, allocations: 0 / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006123/0.3119, allocations: 31.95 kB / 0.9836 GB, free: 22.47 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000214/0.3121, allocations: 99.25 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007629/0.3129, allocations: 183.3 kB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3129, allocations: 0 / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.3133, allocations: 64.03 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.3137, allocations: 7.984 kB / 0.984 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.3144, allocations: 179.3 kB / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.3146, allocations: 0.6965 MB / 0.9848 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.652e-05/0.3147, allocations: 4.672 kB / 0.9848 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.3147, allocations: 11.44 kB / 0.9848 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.3147, allocations: 0 / 0.9848 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.007345/0.3221, allocations: 1.496 MB / 0.9863 GB, free: 19.69 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)