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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 292.3 MB / 308.1 MB, free: 4.344 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.001265/0.001265, allocations: 192.3 kB / 376.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205 MB / 0.6353 GB, free: 9.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 95.75 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 51.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.388, allocations: 114.6 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.003285/0.3914, allocations: 0.7375 MB / 0.983 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.3939, allocations: 1.184 MB / 0.9841 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.592e-05/0.394, allocations: 3.938 kB / 0.9841 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.668e-05/0.394, allocations: 0 / 0.9841 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.3942, allocations: 11.92 kB / 0.9841 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.395, allocations: 119.8 kB / 0.9842 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.3952, allocations: 123.7 kB / 0.9844 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3954, allocations: 4 kB / 0.9844 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.3956, allocations: 51.89 kB / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.3957, allocations: 47.86 kB / 0.9845 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.3958, allocations: 8 kB / 0.9845 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.3959, allocations: 23.98 kB / 0.9845 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.916e-05/0.3959, allocations: 15.92 kB / 0.9845 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.939e-05/0.396, allocations: 35.89 kB / 0.9845 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.3963, allocations: 119.9 kB / 0.9847 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3963, allocations: 0 / 0.9847 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3963, allocations: 0 / 0.9847 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3964, allocations: 0 / 0.9847 GB, free: 7.891 MB / 0.7136 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.0009708/0.3973, allocations: 409 kB / 0.9851 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.3974, allocations: 8.031 kB / 0.9851 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.3975, allocations: 4.938 kB / 0.9851 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.3977, allocations: 172.2 kB / 0.9852 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.3977, allocations: 8.375 kB / 0.9852 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.3978, allocations: 4.375 kB / 0.9852 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.3981, allocations: 74.2 kB / 0.9853 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3981, allocations: 192 / 0.9853 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.3981, allocations: 7.938 kB / 0.9853 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.3981, allocations: 7.969 kB / 0.9853 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.3983, allocations: 43.91 kB / 0.9854 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006924/0.399, allocations: 316.9 kB / 0.9857 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.3993, allocations: 70.48 kB / 0.9857 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.3994, allocations: 32.91 kB / 0.9858 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.3994, allocations: 4 kB / 0.9858 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003961/0.3998, allocations: 111.2 kB / 0.9859 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.444e-06/0.3998, allocations: 0 / 0.9859 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0005961/0.4004, allocations: 177.6 kB / 0.986 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.4005, allocations: 51.41 kB / 0.9861 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.4007, allocations: 122.4 kB / 0.9862 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.4007, allocations: 29.7 kB / 0.9862 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.4008, allocations: 96.11 kB / 0.9863 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.4008, allocations: 15.75 kB / 0.9863 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.71e-05/0.4009, allocations: 41.69 kB / 0.9864 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4011, allocations: 318.8 kB / 0.9867 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.4013, allocations: 43.97 kB / 0.9867 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.4015, allocations: 86.5 kB / 0.9868 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.4017, allocations: 128.2 kB / 0.9869 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4017, allocations: 0 / 0.9869 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004304/0.4022, allocations: 191.2 kB / 0.9871 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.4022, allocations: 37.69 kB / 0.9872 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4023, allocations: 8 kB / 0.9872 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.4023, allocations: 0 / 0.9872 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.4024, allocations: 11.98 kB / 0.9872 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.4024, allocations: 8 kB / 0.9872 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.4027, allocations: 31.88 kB / 0.9872 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.4027, allocations: 11.98 kB / 0.9872 GB, free: 4.992 MB / 0.7136 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.0001392/0.4028, allocations: 117.8 kB / 0.9873 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.4029, allocations: 8 kB / 0.9873 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.4029, allocations: 8.375 kB / 0.9874 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4029, allocations: 4 kB / 0.9874 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4029, allocations: 0 / 0.9874 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.403, allocations: 3.984 kB / 0.9874 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.4036, allocations: 410.3 kB / 0.9878 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4036, allocations: 3.938 kB / 0.9878 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.4036, allocations: 8 kB / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4036, allocations: 4 kB / 0.9878 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.4037, allocations: 7.984 kB / 0.9878 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4037, allocations: 0 / 0.9878 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4037, allocations: 0 / 0.9878 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009115/0.4046, allocations: 0.8253 MB / 0.9886 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.4047, allocations: 89.05 kB / 0.9887 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.4047, allocations: 8.203 kB / 0.9887 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.4048, allocations: 4 kB / 0.9887 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.4049, allocations: 11.98 kB / 0.9887 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.4049, allocations: 7.938 kB / 0.9887 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.947e-05/0.405, allocations: 91.27 kB / 0.9888 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.405, allocations: 0 / 0.9888 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003692/0.4054, allocations: 20 kB / 0.9888 GB, free: 3.23 MB / 0.7136 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.0002423/0.4056, allocations: 115.2 kB / 0.9889 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004228/0.406, allocations: 175.3 kB / 0.9891 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4061, allocations: 0 / 0.9891 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.4062, allocations: 55.92 kB / 0.9891 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.4065, allocations: 11.98 kB / 0.9891 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.4072, allocations: 307.4 kB / 0.9894 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.4076, allocations: 0.6887 MB / 0.9901 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.984e-05/0.4076, allocations: 4.672 kB / 0.9901 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.4076, allocations: 11.44 kB / 0.9901 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.4077, allocations: 0 / 0.9901 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of Templates: time 0.005034/0.4127, allocations: 1.64 MB / 0.9917 GB, free: 176 kB / 0.7136 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)