Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001594/0.001594, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 195 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001249, allocations: 61.16 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3135, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002192/0.3157, allocations: 0.6955 MB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.3173, allocations: 1.176 MB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.3174, allocations: 0 / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.3174, allocations: 3.938 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.3175, allocations: 15.92 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.3181, allocations: 131.6 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.3182, allocations: 131.8 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.758e-05/0.3183, allocations: 8 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.882e-05/0.3185, allocations: 59.88 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.256e-05/0.3186, allocations: 43.88 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.3186, allocations: 12 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.152e-05/0.3187, allocations: 27.98 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.3187, allocations: 23.91 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.918e-05/0.3188, allocations: 43.84 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.319, allocations: 111.7 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.319, allocations: 3.938 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.432e-06/0.319, allocations: 4 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.319, allocations: 0 / 1.071 GB, free: 7.969 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.0006305/0.3196, allocations: 401.4 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3197, allocations: 8.031 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.3198, allocations: 8.844 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3199, allocations: 180.2 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.3199, allocations: 8.312 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.32, allocations: 8.375 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.3202, allocations: 70.2 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3202, allocations: 4.188 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.3202, allocations: 7.938 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3202, allocations: 0 / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.3204, allocations: 43.91 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.3209, allocations: 312.9 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.3212, allocations: 74.48 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.3213, allocations: 40.89 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.3213, allocations: 0 / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.3216, allocations: 103.3 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 3.136e-06/0.3216, allocations: 3.984 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005358/0.3222, allocations: 181.5 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.3222, allocations: 55.41 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.3223, allocations: 121.8 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.3224, allocations: 33.7 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.3224, allocations: 88.05 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.3225, allocations: 24.48 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.686e-05/0.3226, allocations: 37.69 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3227, allocations: 322.8 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.3228, allocations: 51.97 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.323, allocations: 77.86 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.3232, allocations: 116.2 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3233, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004051/0.3237, allocations: 203.1 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.3237, allocations: 37.7 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3237, allocations: 4 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3237, allocations: 0 / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3239, allocations: 19.86 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3239, allocations: 4 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.3241, allocations: 27.95 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.3241, allocations: 12 kB / 1.073 GB, free: 5.066 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 0.000105/0.3242, allocations: 122.8 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.3243, allocations: 7.906 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.3243, allocations: 16.36 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3243, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3243, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3243, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005056/0.3248, allocations: 402.4 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3248, allocations: 3.938 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.3249, allocations: 7.984 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3249, allocations: 0 / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3249, allocations: 4 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3249, allocations: 0 / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3249, allocations: 0 / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.3253, allocations: 243.3 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.3254, allocations: 88.95 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.3254, allocations: 7.984 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/0.3255, allocations: 4 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.3256, allocations: 7.984 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.3256, allocations: 4 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.001e-05/0.3256, allocations: 99.42 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3256, allocations: 0 / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002678/0.3259, allocations: 24 kB / 1.074 GB, free: 3.945 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.0001576/0.3261, allocations: 113.5 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003889/0.3265, allocations: 187.2 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3265, allocations: 0 / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.3266, allocations: 55.97 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3269, allocations: 16.02 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.3274, allocations: 178.7 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3276, allocations: 0.6846 MB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.3277, allocations: 12.59 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.3277, allocations: 7.438 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3277, allocations: 0 / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of Templates: time 0.004467/0.3322, allocations: 1.67 MB / 1.077 GB, free: 0.9844 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)