Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.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.001138/0.001138, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001113/0.001113, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.3 MB / 0.5495 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.91 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2641, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002152/0.2663, allocations: 0.6633 MB / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.2681, allocations: 1.172 MB / 0.7858 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.2681, allocations: 0 / 0.7858 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.2682, allocations: 3.938 kB / 0.7858 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.538e-05/0.2683, allocations: 7.875 kB / 0.7859 GB, free: 2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.2689, allocations: 151.1 kB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.2691, allocations: 131.8 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2692, allocations: 8 kB / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2693, allocations: 51.88 kB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.2694, allocations: 51.88 kB / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.2695, allocations: 12 kB / 0.7862 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.611e-05/0.2696, allocations: 23.94 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.2696, allocations: 19.91 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.369e-05/0.2697, allocations: 51.83 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.2699, allocations: 112 kB / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.2699, allocations: 7.984 kB / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2699, allocations: 0 / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2699, allocations: 0 / 0.7864 GB, free: 1.395 MB / 0.6544 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.0006926/0.2706, allocations: 400.9 kB / 0.7868 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.2707, allocations: 12.02 kB / 0.7868 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.2707, allocations: 4.938 kB / 0.7868 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.2709, allocations: 172.2 kB / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.271, allocations: 8.375 kB / 0.787 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.271, allocations: 8.375 kB / 0.787 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.2712, allocations: 74.14 kB / 0.7871 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2712, allocations: 192 / 0.7871 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.2713, allocations: 3.938 kB / 0.7871 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.2713, allocations: 4 kB / 0.7871 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.2715, allocations: 39.97 kB / 0.7871 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.272, allocations: 324.8 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.2723, allocations: 74.48 kB / 0.7875 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.2724, allocations: 36.84 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.2724, allocations: 4 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4589/0.7313, allocations: 103.7 kB / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 5.681e-06/0.7314, allocations: 0 / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0006757/0.732, allocations: 179.5 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.7321, allocations: 57.08 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.805e-05/0.7322, allocations: 121.3 kB / 0.788 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.7322, allocations: 31.77 kB / 0.788 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.7323, allocations: 86.2 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.7323, allocations: 18.77 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.7324, allocations: 38.53 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.7325, allocations: 321.3 kB / 0.7885 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.7327, allocations: 49.27 kB / 0.7885 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.7328, allocations: 73.97 kB / 0.7886 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.7331, allocations: 124.5 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7331, allocations: 0 / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003719/0.7335, allocations: 200.4 kB / 0.7889 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.7335, allocations: 39.59 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7335, allocations: 0 / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.7336, allocations: 2.719 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.7337, allocations: 18.53 kB / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.7337, allocations: 0 / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.7339, allocations: 34.03 kB / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.734, allocations: 7.188 kB / 0.789 GB, free: 48.01 MB / 0.6544 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 8.859e-05/0.734, allocations: 125.8 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.7341, allocations: 7.875 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.7341, allocations: 7.625 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7341, allocations: 2.625 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.7341, allocations: 0 / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.7341, allocations: 0 / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.7346, allocations: 416.2 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.7346, allocations: 1.094 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.7347, allocations: 9.094 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7347, allocations: 0 / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.7347, allocations: 10.44 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7347, allocations: 0.5312 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7347, allocations: 0 / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.7351, allocations: 237.8 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.7351, allocations: 84.61 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.7351, allocations: 7.828 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.7352, allocations: 6.812 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.7353, allocations: 5.625 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.7353, allocations: 7.062 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.7353, allocations: 91.48 kB / 0.79 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7353, allocations: 0.5 kB / 0.79 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002643/0.7356, allocations: 33.8 kB / 0.79 GB, free: 47.29 MB / 0.6544 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.0001663/0.7358, allocations: 107 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003937/0.7362, allocations: 181 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7362, allocations: 4.688 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.7363, allocations: 57.2 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.7367, allocations: 15.88 kB / 0.7904 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.7371, allocations: 191.2 kB / 0.7905 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.7373, allocations: 0.6881 MB / 0.7912 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.7373, allocations: 14.34 kB / 0.7912 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.7373, allocations: 0 / 0.7912 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.003161/0.7405, allocations: 1.378 MB / 0.7926 GB, free: 46.26 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)