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.001651/0.001651, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00217/0.00217, allocations: 194.4 kB / 16.25 MB, free: 6.621 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.94 kB / 0.9116 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3316, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002008/0.3337, allocations: 0.7449 MB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3351, allocations: 1.17 MB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.3352, allocations: 0 / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.121e-05/0.3353, allocations: 3.938 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.145e-05/0.3353, allocations: 11.92 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006145/0.336, allocations: 135.1 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.3362, allocations: 123.8 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3363, allocations: 12 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3364, allocations: 55.88 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3365, allocations: 47.88 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.3365, allocations: 12 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.3366, allocations: 20 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.3367, allocations: 19.91 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.3367, allocations: 43.89 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.3369, allocations: 127.6 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3369, allocations: 3.938 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3369, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.337, allocations: 4 kB / 1.07 GB, free: 8.211 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.0006281/0.3376, allocations: 393.4 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3376, allocations: 12.03 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.3377, allocations: 8.844 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3378, allocations: 176.2 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.3379, allocations: 4.359 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.3379, allocations: 16.38 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.3381, allocations: 70.2 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3381, allocations: 192 / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.3382, allocations: 7.938 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3382, allocations: 3.984 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.3383, allocations: 43.91 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.3388, allocations: 312.9 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.3391, allocations: 70.48 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3392, allocations: 44.89 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.3392, allocations: 0 / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.3395, allocations: 107.3 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.3395, allocations: 0 / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.000556/0.34, allocations: 177.5 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3401, allocations: 59.41 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.977e-05/0.3402, allocations: 122.1 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.3402, allocations: 29.64 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.3403, allocations: 92.05 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.3403, allocations: 19.73 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/0.3404, allocations: 41.69 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3405, allocations: 314.8 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.3407, allocations: 51.97 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.3408, allocations: 82.47 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.3411, allocations: 124.2 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3411, allocations: 0 / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004073/0.3415, allocations: 199.2 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.3415, allocations: 33.7 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3416, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3416, allocations: 4 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3417, allocations: 15.92 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3417, allocations: 0 / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.3419, allocations: 39.89 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.342, allocations: 4 kB / 1.073 GB, free: 5.316 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.0001067/0.3421, allocations: 125.8 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.3421, allocations: 7.906 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.3421, allocations: 12.36 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3421, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3421, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3421, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.3427, allocations: 398.4 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3427, allocations: 7.938 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.3427, allocations: 7.984 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.3427, allocations: 4 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.3427, allocations: 4 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3427, allocations: 0 / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3428, allocations: 0.5625 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.3431, allocations: 251.2 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.3432, allocations: 84.95 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.3432, allocations: 11.98 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.3433, allocations: 0 / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.3434, allocations: 7.984 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.3434, allocations: 8 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.93e-05/0.3435, allocations: 91.2 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3435, allocations: 0 / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002884/0.3438, allocations: 28 kB / 1.074 GB, free: 4.188 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.0001649/0.3439, allocations: 107.2 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.3443, allocations: 187.2 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3443, allocations: 0 / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.3445, allocations: 51.97 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.3448, allocations: 15.98 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.3452, allocations: 191.5 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.3455, allocations: 0.6846 MB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.334e-05/0.3455, allocations: 4.656 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.3455, allocations: 11.44 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.3455, allocations: 3.938 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of Templates: time 0.004306/0.3499, allocations: 1.648 MB / 1.077 GB, free: 1.242 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)