Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.704/1.704, allocations: 288.4 MB / 303.7 MB, free: 8.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.001181, allocations: 178.4 kB / 372.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.4 MB / 0.631 GB, free: 13.54 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008234/0.0008236, allocations: 89.61 kB / 0.7444 GB, free: 64.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000526/0.0005264, allocations: 12 kB / 0.8675 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3817, allocations: 115.3 MB / 0.9801 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001144/0.383, allocations: 398.4 kB / 0.9805 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.3848, allocations: 1.153 MB / 0.9816 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.3849, allocations: 4 kB / 0.9816 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.3849, allocations: 0 / 0.9816 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.529e-05/0.385, allocations: 3.938 kB / 0.9817 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.3856, allocations: 131.8 kB / 0.9818 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.3858, allocations: 99.75 kB / 0.9819 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.3859, allocations: 15.98 kB / 0.9819 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.3861, allocations: 43.89 kB / 0.9819 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3862, allocations: 47.81 kB / 0.982 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.3862, allocations: 8 kB / 0.982 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-05/0.3863, allocations: 19.98 kB / 0.982 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.3864, allocations: 15.92 kB / 0.982 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3865, allocations: 65.53 kB / 0.9821 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.3866, allocations: 84.08 kB / 0.9822 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.3867, allocations: 0 / 0.9822 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.716e-06/0.3867, allocations: 0 / 0.9822 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3867, allocations: 0 / 0.9822 GB, free: 10.99 MB / 0.7136 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.0008488/0.3875, allocations: 393 kB / 0.9825 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.3876, allocations: 8.031 kB / 0.9825 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.3877, allocations: 4.938 kB / 0.9825 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.3878, allocations: 168.3 kB / 0.9827 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.3879, allocations: 8.375 kB / 0.9827 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.3879, allocations: 12.36 kB / 0.9827 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.3882, allocations: 66.22 kB / 0.9828 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3882, allocations: 4.125 kB / 0.9828 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.3883, allocations: 11.92 kB / 0.9828 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3883, allocations: 11.98 kB / 0.9828 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.3885, allocations: 39.97 kB / 0.9829 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.3891, allocations: 312.9 kB / 0.9832 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.3893, allocations: 82.55 kB / 0.9832 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3894, allocations: 32.84 kB / 0.9833 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.3895, allocations: 3.938 kB / 0.9833 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003241/0.3898, allocations: 107.3 kB / 0.9834 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3898, allocations: 0 / 0.9834 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0005431/0.3904, allocations: 193.4 kB / 0.9836 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.3904, allocations: 51.41 kB / 0.9836 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3905, allocations: 113.8 kB / 0.9837 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3906, allocations: 29.7 kB / 0.9837 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.3907, allocations: 96.03 kB / 0.9838 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.3907, allocations: 19.73 kB / 0.9839 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.3907, allocations: 4 kB / 0.9839 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3909, allocations: 322.8 kB / 0.9842 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.391, allocations: 51.91 kB / 0.9842 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.3912, allocations: 78.48 kB / 0.9843 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.3915, allocations: 128.2 kB / 0.9844 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3915, allocations: 0 / 0.9844 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004016/0.3919, allocations: 199.1 kB / 0.9846 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.3919, allocations: 37.7 kB / 0.9846 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.392, allocations: 7.984 kB / 0.9846 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.392, allocations: 64 / 0.9846 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3921, allocations: 12 kB / 0.9847 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3921, allocations: 4 kB / 0.9847 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.3923, allocations: 41.67 kB / 0.9847 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.3924, allocations: 7.984 kB / 0.9847 GB, free: 8.121 MB / 0.7136 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,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.3925, allocations: 133.8 kB / 0.9848 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.3925, allocations: 7.906 kB / 0.9848 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.3925, allocations: 8.312 kB / 0.9848 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.3926, allocations: 0 / 0.9848 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/0.3926, allocations: 0 / 0.9848 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3926, allocations: 7.938 kB / 0.9849 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005482/0.3931, allocations: 411.2 kB / 0.9852 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3932, allocations: 3.984 kB / 0.9853 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.3932, allocations: 8 kB / 0.9853 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3932, allocations: 96 / 0.9853 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3932, allocations: 3.938 kB / 0.9853 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3933, allocations: 0 / 0.9853 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3933, allocations: 0 / 0.9853 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.3937, allocations: 255.3 kB / 0.9855 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.3937, allocations: 81.02 kB / 0.9856 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.3938, allocations: 4 kB / 0.9856 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.3939, allocations: 11.98 kB / 0.9856 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.3939, allocations: 0 / 0.9856 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.394, allocations: 7.984 kB / 0.9856 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.057e-05/0.394, allocations: 91.22 kB / 0.9857 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.394, allocations: 4 kB / 0.9857 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002477/0.3943, allocations: 32 kB / 0.9857 GB, free: 6.973 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002081/0.3945, allocations: 111.2 kB / 0.9858 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004105/0.3949, allocations: 183.3 kB / 0.986 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3949, allocations: 0 / 0.986 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3951, allocations: 52.11 kB / 0.9861 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3954, allocations: 16.73 kB / 0.9861 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.3959, allocations: 179.2 kB / 0.9862 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.3963, allocations: 0.6965 MB / 0.9869 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.496e-05/0.3964, allocations: 8.609 kB / 0.9869 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.3964, allocations: 11.44 kB / 0.9869 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.3964, allocations: 0 / 0.9869 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of Templates: time 0.004549/0.4009, allocations: 1.522 MB / 0.9884 GB, free: 4.145 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)