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.001073/0.001073, allocations: 107 kB / 16.35 MB, free: 5.879 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.001168/0.001168, allocations: 194.3 kB / 17.29 MB, free: 5.516 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.516/1.516, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.843/1.843, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001453/0.001453, allocations: 78.81 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2317, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002192/0.234, allocations: 0.6712 MB / 0.7854 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2356, allocations: 1.164 MB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.2356, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.2357, allocations: 3.938 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.943e-05/0.2358, allocations: 15.88 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/0.2363, allocations: 147 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.2365, allocations: 123.8 kB / 0.7869 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2366, allocations: 15.98 kB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2367, allocations: 55.88 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.2369, allocations: 51.88 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.2369, allocations: 12 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-05/0.237, allocations: 31.91 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.193e-05/0.2371, allocations: 15.92 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.2371, allocations: 43.84 kB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.2374, allocations: 123.6 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2374, allocations: 0 / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2374, allocations: 4 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.2374, allocations: 4 kB / 0.7872 GB, free: 0.6758 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.0007294/0.2381, allocations: 400.9 kB / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.2382, allocations: 8.031 kB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.2383, allocations: 4.938 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2384, allocations: 172.3 kB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.2384, allocations: 8.375 kB / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.417/0.6554, allocations: 4.922 kB / 0.7878 GB, free: 49.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.6558, allocations: 74.92 kB / 0.7878 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.6558, allocations: 4 kB / 0.7879 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.6559, allocations: 0 / 0.7879 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.6559, allocations: 3.547 kB / 0.7879 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.656, allocations: 41.3 kB / 0.7879 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.6566, allocations: 317.2 kB / 0.7882 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.6568, allocations: 73.56 kB / 0.7883 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.6569, allocations: 39.28 kB / 0.7883 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.6569, allocations: 0 / 0.7883 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.6572, allocations: 106.1 kB / 0.7884 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.6572, allocations: 0 / 0.7884 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0004899/0.6577, allocations: 180.3 kB / 0.7886 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.6577, allocations: 55.34 kB / 0.7886 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.532e-05/0.6578, allocations: 123.3 kB / 0.7887 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.6578, allocations: 33.17 kB / 0.7888 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.6579, allocations: 82.77 kB / 0.7889 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.6579, allocations: 31.27 kB / 0.7889 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.658, allocations: 34.77 kB / 0.7889 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.6581, allocations: 325.5 kB / 0.7892 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.6582, allocations: 50.38 kB / 0.7893 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.6584, allocations: 75.89 kB / 0.7894 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.6586, allocations: 115.2 kB / 0.7895 GB, free: 48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6586, allocations: 0 / 0.7895 GB, free: 48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003622/0.659, allocations: 202.9 kB / 0.7897 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.659, allocations: 38.36 kB / 0.7897 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.659, allocations: 2.688 kB / 0.7897 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.659, allocations: 0 / 0.7897 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.6592, allocations: 13.88 kB / 0.7897 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.6592, allocations: 10.41 kB / 0.7897 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.6594, allocations: 26.28 kB / 0.7897 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.6594, allocations: 16.03 kB / 0.7898 GB, free: 47.89 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 7.45e-05/0.6595, allocations: 118.7 kB / 0.7899 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.6595, allocations: 6.656 kB / 0.7899 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.6595, allocations: 13.05 kB / 0.7899 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6595, allocations: 0 / 0.7899 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6595, allocations: 6.656 kB / 0.7899 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6595, allocations: 3.031 kB / 0.7899 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.66, allocations: 405.6 kB / 0.7903 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.66, allocations: 3.125 kB / 0.7903 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.66, allocations: 7.078 kB / 0.7903 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.66, allocations: 1.469 kB / 0.7903 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.66, allocations: 9.797 kB / 0.7903 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.66, allocations: 1.75 kB / 0.7903 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6601, allocations: 0 / 0.7903 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.6604, allocations: 243.6 kB / 0.7905 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.6604, allocations: 81.61 kB / 0.7906 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.6604, allocations: 10.64 kB / 0.7906 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.6605, allocations: 2.625 kB / 0.7906 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.6606, allocations: 12.11 kB / 0.7906 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.6606, allocations: 6.656 kB / 0.7906 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.843e-05/0.6606, allocations: 88.64 kB / 0.7907 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6606, allocations: 2.625 kB / 0.7907 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002692/0.6609, allocations: 21.97 kB / 0.7908 GB, free: 47.17 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.0001397/0.6611, allocations: 116 kB / 0.7909 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003557/0.6614, allocations: 181 kB / 0.791 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6614, allocations: 1.375 kB / 0.791 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.6616, allocations: 49.92 kB / 0.7911 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.6619, allocations: 16.73 kB / 0.7911 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.6623, allocations: 167.4 kB / 0.7913 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.6624, allocations: 0.6836 MB / 0.7919 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.6624, allocations: 9.016 kB / 0.7919 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.6624, allocations: 12.78 kB / 0.792 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6625, allocations: 0 / 0.792 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.003972/0.6664, allocations: 1.662 MB / 0.7936 GB, free: 46.16 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)