Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.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.001532/0.001532, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 194.5 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 66.41 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3385, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.00188/0.3404, allocations: 0.7505 MB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3418, allocations: 1.186 MB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.3418, allocations: 4 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.3419, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.342, allocations: 11.92 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.3424, allocations: 131.1 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.3425, allocations: 107.8 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.874e-05/0.3426, allocations: 7.984 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.504e-05/0.3427, allocations: 51.89 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.401e-05/0.3428, allocations: 47.75 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.3428, allocations: 12 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.509e-05/0.3429, allocations: 23.97 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.3429, allocations: 7.984 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.343, allocations: 43.84 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.3432, allocations: 111.7 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3432, allocations: 0 / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.61e-07/0.3432, allocations: 0 / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.3432, allocations: 0 / 1.07 GB, free: 8.383 MB / 0.8262 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.000639/0.3439, allocations: 401.4 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3439, allocations: 16.03 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.344, allocations: 8.844 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.3441, allocations: 176.2 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.3442, allocations: 384 / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.3442, allocations: 8.375 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.3445, allocations: 78.14 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3445, allocations: 4.172 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3445, allocations: 3.938 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3445, allocations: 3.938 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.3447, allocations: 47.95 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.3452, allocations: 312.9 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.3455, allocations: 78.36 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.3456, allocations: 36.91 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.3456, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.3459, allocations: 103.3 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.3459, allocations: 0 / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005296/0.3464, allocations: 181.5 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.3465, allocations: 55.41 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/0.3466, allocations: 117.8 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3466, allocations: 29.7 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.3467, allocations: 96.03 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.3467, allocations: 23.73 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.3468, allocations: 37.7 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.3469, allocations: 318.8 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.347, allocations: 51.97 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.3472, allocations: 66.55 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.3475, allocations: 128.1 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3475, allocations: 4 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004161/0.3479, allocations: 195.9 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.3479, allocations: 43.56 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.348, allocations: 0 / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.348, allocations: 8.062 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.3481, allocations: 11.98 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3481, allocations: 0 / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.3483, allocations: 27.97 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.3483, allocations: 11.98 kB / 1.073 GB, free: 5.484 MB / 0.8262 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 9.002e-05/0.3484, allocations: 128.8 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.3485, allocations: 11.84 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.3485, allocations: 12.38 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3485, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3485, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3485, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.349, allocations: 402.4 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.349, allocations: 4 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.3491, allocations: 0 / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3491, allocations: 4 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3491, allocations: 7.984 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3491, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3491, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.3495, allocations: 243.3 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.3495, allocations: 84.95 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.3496, allocations: 8 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3497, allocations: 3.984 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.3497, allocations: 11.98 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.3497, allocations: 4 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.3498, allocations: 91.22 kB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3498, allocations: 480 / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002693/0.3501, allocations: 31.98 kB / 1.074 GB, free: 4.359 MB / 0.8262 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.0001325/0.3502, allocations: 107.1 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.3506, allocations: 187.2 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3506, allocations: 4.125 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3507, allocations: 51.95 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.351, allocations: 15.97 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.3514, allocations: 176.5 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.3517, allocations: 0.6926 MB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.3517, allocations: 4.672 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.3517, allocations: 15.44 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3517, allocations: 0 / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of Templates: time 0.003939/0.3557, allocations: 1.571 MB / 1.076 GB, free: 1.488 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)