Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.296/1.296, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 175.2 kB / 327.5 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.4 MB / 0.5785 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007326/0.0007325, allocations: 94.42 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003847, allocations: 15.77 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2266, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.3934, allocations: 131.7 MB / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.3937, allocations: 71.97 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003785/0.3975, allocations: 1.372 MB / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.185e-06/0.3975, allocations: 0 / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3975, allocations: 0 / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004851/0.398, allocations: 367.3 kB / 1.032 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3981, allocations: 12.03 kB / 1.032 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.3981, allocations: 0.9375 kB / 1.032 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.3983, allocations: 176.4 kB / 1.032 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.3983, allocations: 4.375 kB / 1.032 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.3983, allocations: 8.359 kB / 1.032 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3986, allocations: 70.22 kB / 1.032 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3986, allocations: 8.188 kB / 1.032 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3986, allocations: 3.938 kB / 1.032 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3986, allocations: 4 kB / 1.032 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.3988, allocations: 47.95 kB / 1.032 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.3992, allocations: 286.5 kB / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.3994, allocations: 70.44 kB / 1.032 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3995, allocations: 44.95 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.3996, allocations: 0 / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.3998, allocations: 103.3 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 3.036e-06/0.3998, allocations: 4 kB / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0004772/0.4003, allocations: 177.5 kB / 1.033 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.4004, allocations: 55.34 kB / 1.033 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.4005, allocations: 113.8 kB / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.4005, allocations: 30.08 kB / 1.033 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.4006, allocations: 84.05 kB / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.4006, allocations: 23.8 kB / 1.033 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-06/0.4006, allocations: 4 kB / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4007, allocations: 318.8 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.4008, allocations: 27.98 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.24e-05/0.4009, allocations: 49.62 kB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.4011, allocations: 69.64 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4011, allocations: 7.938 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002239/0.4014, allocations: 101.5 kB / 1.033 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4014, allocations: 4 kB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.4014, allocations: 7.984 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4014, allocations: 0 / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.4015, allocations: 16.03 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4015, allocations: 0 / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.4016, allocations: 15.98 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4016, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,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): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 9.959e-05/0.4017, allocations: 131.7 kB / 1.034 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.4018, allocations: 3.906 kB / 1.034 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.4018, allocations: 12.38 kB / 1.034 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4018, allocations: 4 kB / 1.034 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4018, allocations: 0 / 1.034 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.4018, allocations: 0 / 1.034 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006173/0.4024, allocations: 426.4 kB / 1.034 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4025, allocations: 192 / 1.034 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.4025, allocations: 8 kB / 1.034 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4025, allocations: 3.938 kB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4025, allocations: 7.984 kB / 1.034 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4025, allocations: 0 / 1.034 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4025, allocations: 0 / 1.034 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.4029, allocations: 235.3 kB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.4029, allocations: 89.03 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.4029, allocations: 8 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4031, allocations: 11.98 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.4031, allocations: 7.984 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.4031, allocations: 0 / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.4032, allocations: 95.2 kB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.413e-06/0.4032, allocations: 0 / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002118/0.4034, allocations: 23.94 kB / 1.035 GB, free: 6.727 MB / 0.6823 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 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,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.0001336/0.4035, allocations: 109.4 kB / 1.035 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.4038, allocations: 83.89 kB / 1.035 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4038, allocations: 0 / 1.035 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.4039, allocations: 43.98 kB / 1.035 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.4042, allocations: 22.16 kB / 1.035 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.4046, allocations: 186.3 kB / 1.035 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.4049, allocations: 0.6848 MB / 1.036 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.4049, allocations: 5.141 kB / 1.036 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.405, allocations: 15.44 kB / 1.036 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.405, allocations: 0 / 1.036 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of Templates: time 0.003053/0.408, allocations: 1.012 MB / 1.037 GB, free: 4.516 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)