Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.772/2.772, allocations: 285 MB / 292.5 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001385, allocations: 192.8 kB / 360.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001452/0.001451, allocations: 89.31 kB / 0.7322 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.112e-05, allocations: 4 kB / 0.8509 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8091/0.8092, allocations: 115.3 MB / 0.9635 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2691/1.078, allocations: 137.3 MB / 1.098 GB, free: 3.133 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.079, allocations: 67.95 kB / 1.098 GB, free: 3.066 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01204/1.091, allocations: 2.442 MB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/1.091, allocations: 0.6562 kB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.216e-06/1.091, allocations: 0.5625 kB / 1.1 GB, free: 0.6758 MB / 0.698 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.0006104/1.091, allocations: 385.5 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.092, allocations: 12.75 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/1.092, allocations: 9.188 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/1.092, allocations: 175.6 kB / 1.101 GB, free: 20 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/1.092, allocations: 0 / 1.101 GB, free: 20 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/1.092, allocations: 9.875 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000147/1.092, allocations: 28.06 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/1.092, allocations: 58.61 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.092, allocations: 0 / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/1.092, allocations: 11.17 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.092, allocations: 0.7188 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/1.093, allocations: 304.5 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/1.093, allocations: 54.58 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/1.093, allocations: 29.05 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/1.093, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/1.093, allocations: 99.23 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.164e-06/1.093, allocations: 0 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004045/1.094, allocations: 125.6 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/1.094, allocations: 51.41 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.094, allocations: 114.5 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/1.094, allocations: 29.64 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/1.094, allocations: 88.33 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/1.094, allocations: 23.56 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/1.094, allocations: 4 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.094, allocations: 322.8 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/1.095, allocations: 44 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/1.095, allocations: 62.56 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/1.095, allocations: 51.95 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.095, allocations: 3.188 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008827/1.096, allocations: 205.2 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/1.096, allocations: 33.7 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.096, allocations: 0 / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/1.096, allocations: 36.84 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/1.096, allocations: 11.92 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/1.098, allocations: 1.371 MB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/1.098, allocations: 48.02 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/1.098, allocations: 12 kB / 1.104 GB, free: 12.59 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,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001299/1.099, allocations: 113.5 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/1.099, allocations: 11.89 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/1.099, allocations: 12.58 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.099, allocations: 8 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/1.099, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.099, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/1.099, allocations: 347.1 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.099, allocations: 0 / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.873e-05/1.099, allocations: 7.984 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/1.099, allocations: 10.95 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/1.099, allocations: 0 / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.099, allocations: 0 / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.099, allocations: 5.922 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/1.1, allocations: 224.2 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/1.1, allocations: 81.11 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/1.1, allocations: 7.953 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/1.1, allocations: 3.984 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/1.1, allocations: 7.984 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/1.1, allocations: 4 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.001e-05/1.1, allocations: 94.09 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.21e-07/1.1, allocations: 0 / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004764/1.101, allocations: 31.98 kB / 1.105 GB, free: 11.56 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) * 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.0002199/1.101, allocations: 129.2 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005372/1.102, allocations: 267.4 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.102, allocations: 4 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/1.102, allocations: 40 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/1.102, allocations: 12.11 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/1.102, allocations: 108.7 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/1.103, allocations: 0.6889 MB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.426e-05/1.103, allocations: 6.734 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/1.103, allocations: 11.44 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of SimCode: time 8.52e-07/1.103, allocations: 0 / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.006063/1.109, allocations: 1.566 MB / 1.107 GB, free: 8.738 MB / 0.7136 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)