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.001142/0.001142, allocations: 101.4 kB / 16.36 MB, free: 6.305 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.001055/0.001055, allocations: 192.8 kB / 17.29 MB, free: 5.875 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.452/1.452, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.841/1.841, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001389/0.001389, allocations: 75.02 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2335, allocations: 114.5 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002006/0.2355, allocations: 0.6823 MB / 0.7855 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2371, allocations: 1.168 MB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.2372, allocations: 4 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.2372, allocations: 3.938 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.384e-05/0.2373, allocations: 11.92 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.2379, allocations: 150.7 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.2381, allocations: 123.8 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.2382, allocations: 11.98 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.2383, allocations: 51.89 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.2384, allocations: 59.86 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.2385, allocations: 15.94 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.535e-05/0.2386, allocations: 19.98 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.2386, allocations: 23.91 kB / 0.7871 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.2387, allocations: 43.84 kB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.2389, allocations: 119.7 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2389, allocations: 0 / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2389, allocations: 0 / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.2389, allocations: 0 / 0.7872 GB, free: 0.668 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.0006752/0.2396, allocations: 404.9 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2396, allocations: 12.03 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.2397, allocations: 8.875 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.387/0.6268, allocations: 171.4 kB / 0.7878 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.6269, allocations: 6.078 kB / 0.7878 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.6269, allocations: 7.844 kB / 0.7878 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.6272, allocations: 72.3 kB / 0.7879 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6272, allocations: 2.219 kB / 0.7879 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.6272, allocations: 0 / 0.7879 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.6273, allocations: 2.312 kB / 0.7879 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.6274, allocations: 45.12 kB / 0.7879 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.628, allocations: 317 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.6282, allocations: 76.97 kB / 0.7883 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.6283, allocations: 38.44 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.6283, allocations: 0 / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.6286, allocations: 111.5 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.6286, allocations: 0 / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005029/0.6291, allocations: 188.7 kB / 0.7886 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.6291, allocations: 51.41 kB / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.35e-05/0.6292, allocations: 117.2 kB / 0.7888 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.6292, allocations: 28.33 kB / 0.7888 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.6293, allocations: 86.42 kB / 0.7889 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.6293, allocations: 27.45 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/0.6294, allocations: 40.89 kB / 0.7889 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.153e-05/0.6295, allocations: 319.4 kB / 0.7892 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.6296, allocations: 49.17 kB / 0.7893 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.6298, allocations: 73.19 kB / 0.7894 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.63, allocations: 115.5 kB / 0.7895 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.63, allocations: 0.75 kB / 0.7895 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003888/0.6304, allocations: 202.2 kB / 0.7897 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.6304, allocations: 37.77 kB / 0.7897 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6304, allocations: 3.281 kB / 0.7897 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.6305, allocations: 0 / 0.7897 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.6306, allocations: 18.05 kB / 0.7897 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.6306, allocations: 1.312 kB / 0.7897 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.6308, allocations: 37.81 kB / 0.7898 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.6308, allocations: 5.25 kB / 0.7898 GB, free: 47.7 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.913e-05/0.6309, allocations: 126.4 kB / 0.7899 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.6309, allocations: 11.06 kB / 0.7899 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.631, allocations: 10.62 kB / 0.7899 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.631, allocations: 2.625 kB / 0.7899 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.631, allocations: 0 / 0.7899 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.631, allocations: 3.281 kB / 0.7899 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.6314, allocations: 406.1 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6314, allocations: 5.047 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.6315, allocations: 8.797 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.6315, allocations: 5.438 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.6315, allocations: 2.484 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6315, allocations: 1.938 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.6315, allocations: 2.625 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.6318, allocations: 239.9 kB / 0.7906 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.6319, allocations: 83.64 kB / 0.7906 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.6319, allocations: 5.469 kB / 0.7906 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/0.632, allocations: 8.547 kB / 0.7906 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.632, allocations: 5.531 kB / 0.7907 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.6321, allocations: 6.594 kB / 0.7907 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.116e-05/0.6321, allocations: 94.58 kB / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6321, allocations: 0 / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002532/0.6324, allocations: 28.12 kB / 0.7908 GB, free: 46.98 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.0001533/0.6325, allocations: 104.6 kB / 0.7909 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.6329, allocations: 182.1 kB / 0.791 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6329, allocations: 0 / 0.791 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.633, allocations: 53.31 kB / 0.7911 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.6333, allocations: 19.06 kB / 0.7911 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.6337, allocations: 198.5 kB / 0.7913 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.6338, allocations: 0.69 MB / 0.792 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.6339, allocations: 14.38 kB / 0.792 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6339, allocations: 1.094 kB / 0.792 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.002818/0.6367, allocations: 1.376 MB / 0.7933 GB, free: 45.94 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)